]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] allow setting of upper 32 bit in smp_ctl_set_bit
authorJan Glauber <jang@linux.vnet.ibm.com>
Wed, 22 Jun 2011 14:24:10 +0000 (16:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Jun 2011 14:24:20 +0000 (16:24 +0200)
commitc743b8731ab89e4fe7b611064b9d596e0f168bef
treef3bc462e44fad76d17bbc4c8d6960ede86d6d1f4
parent8abb0e896993cf65137af8e6e959f04f17f6383a
[S390] allow setting of upper 32 bit in smp_ctl_set_bit

The bit shift operation in smp_ctl_set_bit does not specify the type
of the shifted bit so integer is used as default. Therefore it is not
possible to set bits in the upper 32 bit of the control register if
the kernel runs in 64 bit mode. Fix this by specifying the type as
unsigned long.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c