projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da97052
)
sgi-xp: define BYTES_PER_WORD
author
Dean Nelson
<dcn@sgi.com>
Wed, 30 Jul 2008 05:34:03 +0000
(22:34 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:48 +0000
(09:41 -0700)
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>
drivers/misc/sgi-xp/xp.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/misc/sgi-xp/xp.h
b/drivers/misc/sgi-xp/xp.h
index 21cb8a31def1340a154979e16c1b0ca4755be4bc..867fb4863d5a02dc660966ad16adb59f348d2900 100644
(file)
--- a/
drivers/misc/sgi-xp/xp.h
+++ b/
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