diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/spu_base.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spu_base.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c index 8398af6b5c0b..95001cdfaa26 100644 --- a/arch/powerpc/platforms/cell/spu_base.c +++ b/arch/powerpc/platforms/cell/spu_base.c | |||
@@ -126,6 +126,12 @@ void spu_associate_mm(struct spu *spu, struct mm_struct *mm) | |||
126 | } | 126 | } |
127 | EXPORT_SYMBOL_GPL(spu_associate_mm); | 127 | EXPORT_SYMBOL_GPL(spu_associate_mm); |
128 | 128 | ||
129 | int spu_64k_pages_available(void) | ||
130 | { | ||
131 | return mmu_psize_defs[MMU_PAGE_64K].shift != 0; | ||
132 | } | ||
133 | EXPORT_SYMBOL_GPL(spu_64k_pages_available); | ||
134 | |||
129 | static int __spu_trap_invalid_dma(struct spu *spu) | 135 | static int __spu_trap_invalid_dma(struct spu *spu) |
130 | { | 136 | { |
131 | pr_debug("%s\n", __FUNCTION__); | 137 | pr_debug("%s\n", __FUNCTION__); |