aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp_cmd.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-19 18:37:56 -0700
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-06-15 10:50:33 +0200
commitb8a43b045eda4d5b25f00696970fb23cf3edcb23 (patch)
tree7152bbbfa038b57dc9cfaa434f17110897fafdb0 /drivers/s390/char/sclp_cmd.c
parents390/dasd: Enable automatic loading of dasd_diag_mod (diff)
downloadlinux-dev-b8a43b045eda4d5b25f00696970fb23cf3edcb23.tar.xz
linux-dev-b8a43b045eda4d5b25f00696970fb23cf3edcb23.zip
s390/sclp: Use DECLARE_BITMAP
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>
Diffstat (limited to 'drivers/s390/char/sclp_cmd.c')
-rw-r--r--drivers/s390/char/sclp_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/sclp_cmd.c b/drivers/s390/char/sclp_cmd.c
index a186918dc393..f74c040d5c10 100644
--- a/drivers/s390/char/sclp_cmd.c
+++ b/drivers/s390/char/sclp_cmd.c
@@ -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 {