From: Dean Nelson Add a BYTES_PER_WORD #define. Signed-off-by: Dean Nelson Signed-off-by: Andrew Morton --- drivers/misc/sgi-xp/xp.h | 3 +++ 1 file changed, 3 insertions(+) diff -puN drivers/misc/sgi-xp/xp.h~sgi-xp-define-bytes_per_word drivers/misc/sgi-xp/xp.h --- a/drivers/misc/sgi-xp/xp.h~sgi-xp-define-bytes_per_word +++ a/drivers/misc/sgi-xp/xp.h @@ -19,6 +19,9 @@ #include #include +/* >>> 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 _