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>
This commit is contained in:
Dean Nelson 2008-07-29 22:34:03 -07:00 committed by Linus Torvalds
parent da97052598
commit 78ce1bbe44

View File

@ -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