Commit 28c8df48 authored by Linus Torvalds's avatar Linus Torvalds

bitmap_member() => DECLARE_BITMAP()

parent 983f7121
...@@ -80,7 +80,7 @@ struct zorro_dev *zorro_find_device(zorro_id id, struct zorro_dev *from) ...@@ -80,7 +80,7 @@ struct zorro_dev *zorro_find_device(zorro_id id, struct zorro_dev *from)
* FIXME: use the normal resource management * FIXME: use the normal resource management
*/ */
bitmap_member(zorro_unused_z2ram, 128); DECLARE_BITMAP(zorro_unused_z2ram, 128);
static void __init mark_region(unsigned long start, unsigned long end, static void __init mark_region(unsigned long start, unsigned long end,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/config.h> #include <linux/config.h>
#define bitmap_member(name,bits) \ #define DECLARE_BITMAP(name,bits) \
unsigned long name[((bits)+BITS_PER_LONG-1)/BITS_PER_LONG] unsigned long name[((bits)+BITS_PER_LONG-1)/BITS_PER_LONG]
#endif #endif
......
...@@ -199,7 +199,7 @@ extern struct zorro_dev *zorro_find_device(zorro_id id, ...@@ -199,7 +199,7 @@ extern struct zorro_dev *zorro_find_device(zorro_id id,
* the corresponding bits. * the corresponding bits.
*/ */
extern bitmap_member(zorro_unused_z2ram, 128); extern DECLARE_BITMAP(zorro_unused_z2ram, 128);
#define Z2RAM_START (0x00200000) #define Z2RAM_START (0x00200000)
#define Z2RAM_END (0x00a00000) #define Z2RAM_END (0x00a00000)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment