X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fpowerpc%2Fmm%2Flmb.c;h=bbe3eac918e8001338aa84ba2ede420ec2478b20;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=417d58518558bd0ab31975df7e7d864d6aea3a05;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/arch/powerpc/mm/lmb.c b/arch/powerpc/mm/lmb.c index 417d58518..bbe3eac91 100644 --- a/arch/powerpc/mm/lmb.c +++ b/arch/powerpc/mm/lmb.c @@ -31,8 +31,6 @@ #define DBG(fmt...) #endif -#define LMB_ALLOC_ANYWHERE 0 - struct lmb lmb; void lmb_dump_all(void) @@ -227,20 +225,6 @@ unsigned long __init lmb_alloc(unsigned long size, unsigned long align) unsigned long __init lmb_alloc_base(unsigned long size, unsigned long align, unsigned long max_addr) -{ - unsigned long alloc; - - alloc = __lmb_alloc_base(size, align, max_addr); - - if (alloc == 0) - panic("ERROR: Failed to allocate 0x%lx bytes below 0x%lx.\n", - size, max_addr); - - return alloc; -} - -unsigned long __init __lmb_alloc_base(unsigned long size, unsigned long align, - unsigned long max_addr) { long i, j; unsigned long base = 0;