aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-10-19 02:40:35 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 14:53:42 -0400
commit93043ece030af58529e3e1367502461d265ab4e2 (patch)
tree48add1b72e3ebd07866089c88ad6122422f1da55 /include/asm-mips
parent7b19ada2ed3c1eccb9fe94d74b05e1428224663d (diff)
define global BIT macro
define global BIT macro move all local BIT defines to the new globally define macro. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Kumar Gala <galak@gate.crashing.org> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Jeff Garzik <jeff@garzik.org> Cc: James Bottomley <James.Bottomley@steeleye.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Russell King <rmk@arm.linux.org.uk> Acked-by: Ralf Baechle <ralf@linux-mips.org> Cc: "John W. Linville" <linville@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/ip32/crime.h3
-rw-r--r--include/asm-mips/ip32/mace.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-mips/ip32/crime.h b/include/asm-mips/ip32/crime.h
index a13702fafa85..7c36b0e5b1c6 100644
--- a/include/asm-mips/ip32/crime.h
+++ b/include/asm-mips/ip32/crime.h
@@ -17,9 +17,6 @@
17 */ 17 */
18#define CRIME_BASE 0x14000000 /* physical */ 18#define CRIME_BASE 0x14000000 /* physical */
19 19
20#undef BIT
21#define BIT(x) (1UL << (x))
22
23struct sgi_crime { 20struct sgi_crime {
24 volatile unsigned long id; 21 volatile unsigned long id;
25#define CRIME_ID_MASK 0xff 22#define CRIME_ID_MASK 0xff
diff --git a/include/asm-mips/ip32/mace.h b/include/asm-mips/ip32/mace.h
index 990082c81f39..d08d7c672139 100644
--- a/include/asm-mips/ip32/mace.h
+++ b/include/asm-mips/ip32/mace.h
@@ -17,9 +17,6 @@
17 */ 17 */
18#define MACE_BASE 0x1f000000 /* physical */ 18#define MACE_BASE 0x1f000000 /* physical */
19 19
20#undef BIT
21#define BIT(x) (1UL << (x))
22
23/* 20/*
24 * PCI interface 21 * PCI interface
25 */ 22 */