diff options
author | Dean Nelson <dcn@sgi.com> | 2008-07-30 01:34:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 12:41:50 -0400 |
commit | 04de741885bc7565a28150e82c56a56e544440e6 (patch) | |
tree | 7c955e1d9dbe4c7d319818f48e22ef85113b2c2f /drivers/misc/sgi-xp/xp.h | |
parent | ea57f80c8c0e59cfc5095f7e856ce7c8e6ac2984 (diff) |
sgi-xp: use standard bitops macros and functions
Change sgi-xp to use the standard bitops macros and functions instead of
trying to invent its own mechanism.
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>
Diffstat (limited to 'drivers/misc/sgi-xp/xp.h')
-rw-r--r-- | drivers/misc/sgi-xp/xp.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h index 0ca81f16646f..3054fae8b023 100644 --- a/drivers/misc/sgi-xp/xp.h +++ b/drivers/misc/sgi-xp/xp.h | |||
@@ -21,9 +21,6 @@ | |||
21 | #include <asm/sn/arch.h> | 21 | #include <asm/sn/arch.h> |
22 | #endif | 22 | #endif |
23 | 23 | ||
24 | /* ??? Add this #define to some linux header file some day? */ | ||
25 | #define BYTES_PER_WORD sizeof(void *) | ||
26 | |||
27 | #ifdef USE_DBUG_ON | 24 | #ifdef USE_DBUG_ON |
28 | #define DBUG_ON(condition) BUG_ON(condition) | 25 | #define DBUG_ON(condition) BUG_ON(condition) |
29 | #else | 26 | #else |