diff options
author | Rob Herring <robh@kernel.org> | 2018-01-06 01:14:00 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-01-30 20:17:37 +0300 |
commit | b75e250a90519c6ebecc15d23dfc693f8a725181 (patch) | |
tree | c215a3c00c1d88b504a99c8df459523d88441c2c /arch | |
parent | f7a6e01c8c90596c1871c9fae22e498cbf1c73a1 (diff) | |
download | linux-b75e250a90519c6ebecc15d23dfc693f8a725181.tar.xz |
x86: remove arch specific early_init_dt_alloc_memory_arch
Now that the DT core code handles bootmem arches, we can remove the x86
specific early_init_dt_alloc_memory_arch function.
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/devicetree.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index 76e07698e6d1..25de5f6ca997 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -2,7 +2,6 @@ /* * Architecture specific OF callbacks. */ -#include <linux/bootmem.h> #include <linux/export.h> #include <linux/io.h> #include <linux/interrupt.h> @@ -39,11 +38,6 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size) BUG(); } -void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) -{ - return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS)); -} - void __init add_dtb(u64 data) { initial_dtb = data + offsetof(struct setup_data, data); |