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>
This commit is contained in:

committed by
Linus Torvalds

parent
7b19ada2ed
commit
93043ece03
@@ -17,9 +17,6 @@
|
||||
*/
|
||||
#define CRIME_BASE 0x14000000 /* physical */
|
||||
|
||||
#undef BIT
|
||||
#define BIT(x) (1UL << (x))
|
||||
|
||||
struct sgi_crime {
|
||||
volatile unsigned long id;
|
||||
#define CRIME_ID_MASK 0xff
|
||||
|
@@ -17,9 +17,6 @@
|
||||
*/
|
||||
#define MACE_BASE 0x1f000000 /* physical */
|
||||
|
||||
#undef BIT
|
||||
#define BIT(x) (1UL << (x))
|
||||
|
||||
/*
|
||||
* PCI interface
|
||||
*/
|
||||
|
Reference in New Issue
Block a user