diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2007-10-30 14:55:04 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-11-08 14:15:31 +1100 |
commit | e7bda183d4e3f6027ae9181c176a459423d04748 (patch) | |
tree | b63d1bfda9005b8c599991e1ee54f9debdfcf7de /arch/powerpc/platforms | |
parent | aa39be09dfd7e95509cadcdb99cf7eb470d83c46 (diff) |
[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 <tony@bakeyournoodle.com>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/celleb/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/celleb/setup.c b/arch/powerpc/platforms/celleb/setup.c index 1769d755eff..ddfb35ae741 100644 --- a/arch/powerpc/platforms/celleb/setup.c +++ b/arch/powerpc/platforms/celleb/setup.c @@ -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> |