From: Ralf Baechle Date: Mon, 13 Aug 2007 11:44:41 +0000 (+0100) Subject: [MIPS] Gcc 3.3 build fixes. X-Git-Tag: v2.6.23-rc4~7^2~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9975e77df5428a1afff57fd8f76a1bc0bfc247fc;p=karo-tx-linux.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 b8cb0dde3af0..09d91505b90c 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<