Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joe Perches and committed by
Martin Schwidefsky
b8a43b04 7c53fcb3

+1 -1
+1 -1
drivers/s390/char/sclp_cmd.c
··· 186 186 static DEFINE_MUTEX(sclp_mem_mutex); 187 187 static LIST_HEAD(sclp_mem_list); 188 188 static u8 sclp_max_storage_id; 189 - static unsigned long sclp_storage_ids[256 / BITS_PER_LONG]; 189 + static DECLARE_BITMAP(sclp_storage_ids, 256); 190 190 static int sclp_mem_state_changed; 191 191 192 192 struct memory_increment {