mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
x86: Replace ARCH_SETUP by a proper x86_init_ops
ARCH_SETUP is a horrible leftover from the old arch/i386 mach support code. It still has a lonely user in xen. Move it to x86_init_ops. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
428cf9025b
commit
42bbdb43b1
7 changed files with 15 additions and 9 deletions
|
@ -108,10 +108,6 @@
|
|||
#include <asm/numa_64.h>
|
||||
#endif
|
||||
|
||||
#ifndef ARCH_SETUP
|
||||
#define ARCH_SETUP
|
||||
#endif
|
||||
|
||||
/*
|
||||
* end_pfn only includes RAM, while max_pfn_mapped includes all e820 entries.
|
||||
* The direct mapping extends to max_pfn_mapped, so that we can directly access
|
||||
|
@ -750,7 +746,7 @@ void __init setup_arch(char **cmdline_p)
|
|||
}
|
||||
#endif
|
||||
|
||||
ARCH_SETUP
|
||||
x86_init.oem.arch_setup();
|
||||
|
||||
setup_memory_map();
|
||||
parse_setup_data();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue