mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
x86: Add reserve_ebda_region to x86_init_ops
reserve_ebda_region needs to be called befor start_kernel. Moorestown needs to override it. Make it a x86_init_ops function and initialize it with the default reserve_ebda_region. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include <asm/setup.h>
|
||||
#include <asm/sections.h>
|
||||
#include <asm/e820.h>
|
||||
#include <asm/bios_ebda.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/trampoline.h>
|
||||
|
||||
void __init i386_start_kernel(void)
|
||||
@@ -33,7 +33,7 @@ void __init i386_start_kernel(void)
|
||||
x86_init.resources.probe_roms = probe_roms;
|
||||
x86_init.resources.reserve_resources = i386_reserve_resources;
|
||||
|
||||
reserve_ebda_region();
|
||||
x86_init.resources.reserve_ebda_region();
|
||||
|
||||
/*
|
||||
* At this point everything still needed from the boot loader
|
||||
|
Reference in New Issue
Block a user