[POWERPC] spufs: Fix compile error
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 13 May 2008 09:07:42 +0000 (19:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 15 May 2008 10:49:55 +0000 (20:49 +1000)
commitdfe1e09f220b73ff9b5614185ef24de4c07c578d
tree4d04ad27973bddd1afaa737be1dbcae962650af9
parent9c8387afdc93f90bf0241411d44e011d8d5b76df
[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: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/file.c