summaryrefslogtreecommitdiff
path: root/drivers/misc/sgi-xp
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2008-07-30 05:34:03 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-30 16:41:48 (GMT)
commit78ce1bbe446e9b46dcd6c1e60a4768448a8ce355 (patch)
treefb7c75dd25d991dc6a8be630c1a46ebc498c2cf6 /drivers/misc/sgi-xp
parentda9705259848b968cdf6151b977334fe7b5b0461 (diff)
downloadlinux-fsl-qoriq-78ce1bbe446e9b46dcd6c1e60a4768448a8ce355.tar.xz
sgi-xp: define BYTES_PER_WORD
Add a BYTES_PER_WORD #define. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-xp')
-rw-r--r--drivers/misc/sgi-xp/xp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h
index 21cb8a3..867fb48 100644
--- a/drivers/misc/sgi-xp/xp.h
+++ b/drivers/misc/sgi-xp/xp.h
@@ -19,6 +19,9 @@
#include <asm/sn/types.h>
#include <asm/sn/bte.h>
+/* >>> Add this #define to some linux header file some day. */
+#define BYTES_PER_WORD sizeof(void *)
+
#ifdef USE_DBUG_ON
#define DBUG_ON(condition) BUG_ON(condition)
#else