aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2007-12-04 21:49:31 -0500
committerArnd Bergmann <arnd@arndb.de>2007-12-18 19:00:05 -0500
commitf6eb7d7ffef3e2fa40b0161c30486cb87203758d (patch)
tree580d7335ff14c9dd1934fd64f4a803116731abf0 /include/asm-powerpc
parent4d43466d567a6620f4f6d8576e1bed5d7cf4c28d (diff)
[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>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/spu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index 844c7cdd6b84..3308ed4933e0 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -214,6 +214,7 @@ static inline void crash_register_spus(struct list_head *list)
214 214
215extern void spu_invalidate_slbs(struct spu *spu); 215extern void spu_invalidate_slbs(struct spu *spu);
216extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm); 216extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm);
217int spu_64k_pages_available(void);
217 218
218/* Calls from the memory management to the SPU */ 219/* Calls from the memory management to the SPU */
219struct mm_struct; 220struct mm_struct;