summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/sn/bte.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/include/asm/sn/bte.h')
-rw-r--r--arch/ia64/include/asm/sn/bte.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/sn/bte.h b/arch/ia64/include/asm/sn/bte.h
index 5efecf06c9a4..96798d2da7c2 100644
--- a/arch/ia64/include/asm/sn/bte.h
+++ b/arch/ia64/include/asm/sn/bte.h
@@ -39,7 +39,7 @@
/* BTE status register only supports 16 bits for length field */
#define BTE_LEN_BITS (16)
#define BTE_LEN_MASK ((1 << BTE_LEN_BITS) - 1)
-#define BTE_MAX_XFER ((1 << BTE_LEN_BITS) * L1_CACHE_BYTES)
+#define BTE_MAX_XFER (BTE_LEN_MASK << L1_CACHE_SHIFT)
/* Define hardware */
OpenPOWER on IntegriCloud