lkml.org 
[lkml]   [2008]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[Patch 03/18] define BYTES_PER_WORD
Add a BYTES_PER_WORD #define.

Signed-off-by: Dean Nelson <dcn@sgi.com>

---

drivers/misc/sgi-xp/xp.h | 3 +++
1 file changed, 3 insertions(+)

Index: linux-2.6/drivers/misc/sgi-xp/xp.h
===================================================================
--- linux-2.6.orig/drivers/misc/sgi-xp/xp.h 2008-05-30 13:59:29.580809165 -0500
+++ linux-2.6/drivers/misc/sgi-xp/xp.h 2008-05-30 14:00:00.200614111 -0500
@@ -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

\
 
 \ /
  Last update: 2008-06-06 18:47    [W:0.145 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site