x86: move e820_mark_nosave_regions to e820.c
and make e820_mark_nosave_regions to take limit_pfn to use max_low_pfn for 32bit and end_pfn for 64bit Signed-off-by:Yinghai Lu <yhlu.kernel@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- arch/x86/kernel/e820.c 32 additions, 0 deletionsarch/x86/kernel/e820.c
- arch/x86/kernel/e820_32.c 0 additions, 32 deletionsarch/x86/kernel/e820_32.c
- arch/x86/kernel/e820_64.c 0 additions, 32 deletionsarch/x86/kernel/e820_64.c
- arch/x86/kernel/setup_32.c 1 addition, 1 deletionarch/x86/kernel/setup_32.c
- arch/x86/kernel/setup_64.c 1 addition, 1 deletionarch/x86/kernel/setup_64.c
- include/asm-x86/e820.h 9 additions, 0 deletionsinclude/asm-x86/e820.h
- include/asm-x86/e820_32.h 0 additions, 8 deletionsinclude/asm-x86/e820_32.h
- include/asm-x86/e820_64.h 0 additions, 1 deletioninclude/asm-x86/e820_64.h
Loading
Please register or sign in to comment