aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-powerpc/spu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index 3bf6a502aeaf..692aa60e9903 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -28,9 +28,7 @@
28#include <linux/kref.h> 28#include <linux/kref.h>
29#include <linux/workqueue.h> 29#include <linux/workqueue.h>
30 30
31#define LS_ORDER (6) /* 256 kb */ 31#define LS_SIZE (256 * 1024)
32
33#define LS_SIZE (PAGE_SIZE << LS_ORDER)
34#define LS_ADDR_MASK (LS_SIZE - 1) 32#define LS_ADDR_MASK (LS_SIZE - 1)
35 33
36#define MFC_PUT_CMD 0x20 34#define MFC_PUT_CMD 0x20