From: Ralf Baechle Date: Mon, 13 Aug 2007 11:44:41 +0000 (+0100) Subject: [MIPS] Gcc 3.3 build fixes. X-Git-Tag: v3.12-rc1~27046^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9975e77df5428a1afff57fd8f76a1bc0bfc247fc;p=kernel%2Fkernel-generic.git [MIPS] Gcc 3.3 build fixes. Work around gcc 3.3's unability to evaluate that certain expressions indeed are constant. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index b8cb0dd..09d9150 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -498,7 +499,13 @@ unsigned long pgd_current[NR_CPUS]; * different layout ... */ #define __page_aligned(order) __attribute__((__aligned__(PAGE_SIZE<