diff options
author | Dean Nelson <dcn@sgi.com> | 2008-07-30 01:34:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 12:41:48 -0400 |
commit | 78ce1bbe446e9b46dcd6c1e60a4768448a8ce355 (patch) | |
tree | fb7c75dd25d991dc6a8be630c1a46ebc498c2cf6 /drivers/misc/sgi-xp/xp.h | |
parent | da9705259848b968cdf6151b977334fe7b5b0461 (diff) |
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/xp.h')
-rw-r--r-- | drivers/misc/sgi-xp/xp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h index 21cb8a31def1..867fb4863d5a 100644 --- a/drivers/misc/sgi-xp/xp.h +++ b/drivers/misc/sgi-xp/xp.h | |||
@@ -19,6 +19,9 @@ | |||
19 | #include <asm/sn/types.h> | 19 | #include <asm/sn/types.h> |
20 | #include <asm/sn/bte.h> | 20 | #include <asm/sn/bte.h> |
21 | 21 | ||
22 | /* >>> Add this #define to some linux header file some day. */ | ||
23 | #define BYTES_PER_WORD sizeof(void *) | ||
24 | |||
22 | #ifdef USE_DBUG_ON | 25 | #ifdef USE_DBUG_ON |
23 | #define DBUG_ON(condition) BUG_ON(condition) | 26 | #define DBUG_ON(condition) BUG_ON(condition) |
24 | #else | 27 | #else |