From: Ralf Baechle Date: Mon, 13 Aug 2007 11:44:41 +0000 (+0100) Subject: [MIPS] Gcc 3.3 build fixes. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9975e77df5428a1afff57fd8f76a1bc0bfc247fc;p=openwrt%2Fstaging%2Fblogic.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<