[POWERPC] cell: add spu_64k_pages_available() check
authorJeremy Kerr <jk@ozlabs.org>
Wed, 5 Dec 2007 02:49:31 +0000 (13:49 +1100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 19 Dec 2007 00:00:05 +0000 (01:00 +0100)
commitf6eb7d7ffef3e2fa40b0161c30486cb87203758d
tree580d7335ff14c9dd1934fd64f4a803116731abf0
parent4d43466d567a6620f4f6d8576e1bed5d7cf4c28d
[POWERPC] cell: add spu_64k_pages_available() check

Add a function spu_64k_pages_available(), so that we can abstract the
explicity use of mmu_psize_defs() in lssca_alloc.c

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/cell/spufs/lscsa_alloc.c
include/asm-powerpc/spu.h