diff options
author | Dean Nelson <dcn@sgi.com> | 2008-07-29 22:34:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 09:41:48 -0700 |
commit | 78ce1bbe446e9b46dcd6c1e60a4768448a8ce355 (patch) | |
tree | fb7c75dd25d991dc6a8be630c1a46ebc498c2cf6 | |
parent | da9705259848b968cdf6151b977334fe7b5b0461 (diff) | |
download | linux-3.10-78ce1bbe446e9b46dcd6c1e60a4768448a8ce355.tar.gz linux-3.10-78ce1bbe446e9b46dcd6c1e60a4768448a8ce355.tar.bz2 linux-3.10-78ce1bbe446e9b46dcd6c1e60a4768448a8ce355.zip |
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>
-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 21cb8a31def..867fb4863d5 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 |