Fix build failure in platforms/celleb/setup.c which CONFIG_VIRT_CPU_ACCOUNTING is not defined.
PATCH 1/1 Fix build failure in platforms/celleb/setup.c which CONFIG_VIRT_CPU_ACCOUNTING is not defined.
Without this patch I get the following build failure
CC arch/powerpc/platforms/celleb/setup.oarch/powerpc/platforms/celleb/setup.c:151: error: 'generic_calibrate_decr' undeclared here (not in a function)
Signed-off-by Tony Breeds <[email protected]>
--- arch/powerpc/platforms/celleb/setup.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/platforms/celleb/setup.c +1 -0
@@ -49,6 +49,7 @@#include <asm/machdep.h> #include <asm/cputable.h> #include <asm/irq.h> +#include <asm/time.h> #include <asm/spu_priv1.h> #include <asm/firmware.h> #include <asm/of_platform.h>
Signature · 6 lines
1.5.3.4 Yours Tony linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/ Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!
Quoted 3 lines · Tony Breeds
Without this patch I get the following build failure
=A0 CC =A0 =A0 =A0arch/powerpc/platforms/celleb/setup.oarch/powerpc/platforms/celleb/setup.c:151: error: 'generic_calibrate_decr=
' undeclared here (not in a function)
Quoted 2 lines
=20
Signed-off-by Tony Breeds <[email protected]>
Acked-by Arnd Bergmann <[email protected]>