memblock, x86: Replace memblock_x86_reserve/free_range() with generic ones
Other than sanity check and debug message, the x86 specific version of memblock reserve/free functions are simple wrappers around the generic versions - memblock_reserve/free(). This patch adds debug messages with caller identification to the generic versions and replaces x86 specific ones and kills them. arch/x86/include/asm/memblock.h and arch/x86/mm/memblock.c are empty after this change and removed. Signed-off-by:Tejun Heo <tj@kernel.org> Link: http://lkml.kernel.org/r/1310462166-31469-14-git-send-email-tj@kernel.org Cc: Yinghai Lu <yinghai@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by:
H. Peter Anvin <hpa@linux.intel.com>
Showing
- arch/x86/include/asm/memblock.h 0 additions, 7 deletionsarch/x86/include/asm/memblock.h
- arch/x86/kernel/aperture_64.c 1 addition, 1 deletionarch/x86/kernel/aperture_64.c
- arch/x86/kernel/check.c 1 addition, 1 deletionarch/x86/kernel/check.c
- arch/x86/kernel/head.c 1 addition, 1 deletionarch/x86/kernel/head.c
- arch/x86/kernel/head32.c 3 additions, 2 deletionsarch/x86/kernel/head32.c
- arch/x86/kernel/head64.c 3 additions, 2 deletionsarch/x86/kernel/head64.c
- arch/x86/kernel/mpparse.c 2 additions, 4 deletionsarch/x86/kernel/mpparse.c
- arch/x86/kernel/setup.c 8 additions, 9 deletionsarch/x86/kernel/setup.c
- arch/x86/kernel/trampoline.c 1 addition, 1 deletionarch/x86/kernel/trampoline.c
- arch/x86/mm/Makefile 0 additions, 2 deletionsarch/x86/mm/Makefile
- arch/x86/mm/init.c 3 additions, 3 deletionsarch/x86/mm/init.c
- arch/x86/mm/memblock.c 0 additions, 34 deletionsarch/x86/mm/memblock.c
- arch/x86/mm/memtest.c 1 addition, 1 deletionarch/x86/mm/memtest.c
- arch/x86/mm/numa.c 2 additions, 3 deletionsarch/x86/mm/numa.c
- arch/x86/mm/numa_32.c 3 additions, 3 deletionsarch/x86/mm/numa_32.c
- arch/x86/mm/numa_emulation.c 2 additions, 2 deletionsarch/x86/mm/numa_emulation.c
- arch/x86/platform/efi/efi.c 2 additions, 4 deletionsarch/x86/platform/efi/efi.c
- arch/x86/xen/mmu.c 4 additions, 8 deletionsarch/x86/xen/mmu.c
- arch/x86/xen/setup.c 3 additions, 4 deletionsarch/x86/xen/setup.c
- include/linux/memblock.h 0 additions, 2 deletionsinclude/linux/memblock.h
Loading
Please register or sign in to comment