mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
s390/cio: Use BITS_TO_LONGS() instead of __BITOPS_WORDS()
Use BITS_TO_LONGS() instead of __BITOPS_WORDS() that is considered to be private macro in asm/bitops.h for s390. Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
01c2475f6d
commit
03ff60df34
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ struct idset {
|
|||
|
||||
static inline unsigned long bitmap_size(int num_ssid, int num_id)
|
||||
{
|
||||
return __BITOPS_WORDS(num_ssid * num_id) * sizeof(unsigned long);
|
||||
return BITS_TO_LONGS(num_ssid * num_id) * sizeof(unsigned long);
|
||||
}
|
||||
|
||||
static struct idset *idset_new(int num_ssid, int num_id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue