X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=mm%2Fnobootmem.c;h=490d46abddad2732346465befa7a3349bccc9e75;hb=9254990fb9f0f15f25605748da20cfbeced7c816;hp=bd05a70f44b96c81d4d7c119fd4a807f1af15bd6;hpb=2708d17d07d2968a0fb0efa692b82cd544c3e9d4;p=cascardo%2Flinux.git diff --git a/mm/nobootmem.c b/mm/nobootmem.c index bd05a70f44b9..490d46abddad 100644 --- a/mm/nobootmem.c +++ b/mm/nobootmem.c @@ -11,18 +11,21 @@ #include #include #include -#include #include #include #include #include +#include #include #include -#include #include "internal.h" +#ifndef CONFIG_HAVE_MEMBLOCK +#error CONFIG_HAVE_MEMBLOCK not defined +#endif + #ifndef CONFIG_NEED_MULTIPLE_NODES struct pglist_data __refdata contig_page_data; EXPORT_SYMBOL(contig_page_data); @@ -395,9 +398,6 @@ void * __init __alloc_bootmem_node_high(pg_data_t *pgdat, unsigned long size, return __alloc_bootmem_node(pgdat, size, align, goal); } -#ifndef ARCH_LOW_ADDRESS_LIMIT -#define ARCH_LOW_ADDRESS_LIMIT 0xffffffffUL -#endif /** * __alloc_bootmem_low - allocate low boot memory