Pārlūkot izejas kodu

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>
Dean Nelson 17 gadi atpakaļ
vecāks
revīzija
78ce1bbe44
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      drivers/misc/sgi-xp/xp.h

+ 3 - 0
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