提交 dfe1e09f 编写于 作者: F FUJITA Tomonori 提交者: Paul Mackerras

[POWERPC] spufs: Fix compile error

With CONFIG_VIRT_CPU_ACCOUNTING disabled, I got the following error:

linux-2.6/arch/powerpc/platforms/cell/spufs/file.c: In function 'spu_switch_log_notify':
linux-2.6/arch/powerpc/platforms/cell/spufs/file.c:2542: error: implicit declaration of function 'get_tb'
make[4]: *** [arch/powerpc/platforms/cell/spufs/file.o] Error 1
Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 9c8387af
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <linux/marker.h> #include <linux/marker.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/time.h>
#include <asm/spu.h> #include <asm/spu.h>
#include <asm/spu_info.h> #include <asm/spu_info.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册