mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
[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>
This commit is contained in:
parent
4d43466d56
commit
f6eb7d7ffe
3 changed files with 8 additions and 1 deletions
|
|
@ -214,6 +214,7 @@ static inline void crash_register_spus(struct list_head *list)
|
|||
|
||||
extern void spu_invalidate_slbs(struct spu *spu);
|
||||
extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm);
|
||||
int spu_64k_pages_available(void);
|
||||
|
||||
/* Calls from the memory management to the SPU */
|
||||
struct mm_struct;
|
||||
|
|
|
|||
Loading…
Reference in a new issue