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>
This commit is contained in:
Dean Nelson
2008-07-29 22:34:14 -07:00
committed by Linus Torvalds
parent ea57f80c8c
commit 04de741885
4 changed files with 76 additions and 86 deletions

View File

@ -21,9 +21,6 @@
#include <asm/sn/arch.h>
#endif
/* ??? 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