Skip to content

Commit

Permalink
sgi-xp: define BYTES_PER_WORD
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dean Nelson authored and Linus Torvalds committed Jul 30, 2008
1 parent da97052 commit 78ce1bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/misc/sgi-xp/xp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78ce1bb

Please sign in to comment.