From: Tony Breeds Date: Tue, 30 Oct 2007 03:55:04 +0000 (+1100) Subject: [POWERPC] Fix build failure when CONFIG_VIRT_CPU_ACCOUNTING is not defined X-Git-Tag: v2.6.24-rc3~175^2~17 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=e7bda183d4e3f6027ae9181c176a459423d04748;p=linux.git [POWERPC] Fix build failure when CONFIG_VIRT_CPU_ACCOUNTING is not defined Without this patch I get the following build failure CC arch/powerpc/platforms/celleb/setup.o arch/powerpc/platforms/celleb/setup.c:151: error: 'generic_calibrate_decr' undeclared here (not in a function) Signed-off-by: Tony Breeds Acked-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/celleb/setup.c b/arch/powerpc/platforms/celleb/setup.c index 1769d755eff3..ddfb35ae741f 100644 --- a/arch/powerpc/platforms/celleb/setup.c +++ b/arch/powerpc/platforms/celleb/setup.c @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include