From: Dean Nelson Date: Wed, 30 Jul 2008 05:34:03 +0000 (-0700) Subject: sgi-xp: define BYTES_PER_WORD X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=78ce1bbe446e9b46dcd6c1e60a4768448a8ce355;p=openwrt%2Fstaging%2Fblogic.git sgi-xp: define BYTES_PER_WORD Add a BYTES_PER_WORD #define. Signed-off-by: Dean Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 @@ #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