s390/sclp: Use DECLARE_BITMAP
authorJoe Perches <joe@perches.com>
Wed, 20 May 2015 01:37:56 +0000 (18:37 -0700)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 15 Jun 2015 08:50:33 +0000 (10:50 +0200)
Use the generic mechanism to declare a bitmap instead of unsigned long.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_cmd.c

index a186918..f74c040 100644 (file)
@@ -186,7 +186,7 @@ int sclp_cpu_deconfigure(u8 cpu)
 static DEFINE_MUTEX(sclp_mem_mutex);
 static LIST_HEAD(sclp_mem_list);
 static u8 sclp_max_storage_id;
-static unsigned long sclp_storage_ids[256 / BITS_PER_LONG];
+static DECLARE_BITMAP(sclp_storage_ids, 256);
 static int sclp_mem_state_changed;
 
 struct memory_increment {