summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-07-13 17:02:12 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-07-13 17:02:12 +0900
commit4af358f81881e1d083a916c9269b5ac0936e180d (patch)
treec0533d3268daccb6f06f1180aa1ae8f1aac17d36 /arch/s390/kernel
parent7653aaab775d4c205a7dce52850c8e3d4f31d4ea (diff)
parentb63d10130e68aa6480cc1b2483d7c5ce57a05481 (diff)
downloadblackbird-obmc-linux-4af358f81881e1d083a916c9269b5ac0936e180d.tar.gz
blackbird-obmc-linux-4af358f81881e1d083a916c9269b5ac0936e180d.zip
Merge branch 'fbdev/stable-updates'
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r--arch/s390/kernel/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index 52420d2785b3..1d55c95f617c 100644
--- a/arch/s390/kernel/smp.c
+++ b/arch/s390/kernel/smp.c
@@ -262,7 +262,7 @@ void smp_ctl_set_bit(int cr, int bit)
memset(&parms.orvals, 0, sizeof(parms.orvals));
memset(&parms.andvals, 0xff, sizeof(parms.andvals));
- parms.orvals[cr] = 1 << bit;
+ parms.orvals[cr] = 1UL << bit;
on_each_cpu(smp_ctl_bit_callback, &parms, 1);
}
EXPORT_SYMBOL(smp_ctl_set_bit);
@@ -276,7 +276,7 @@ void smp_ctl_clear_bit(int cr, int bit)
memset(&parms.orvals, 0, sizeof(parms.orvals));
memset(&parms.andvals, 0xff, sizeof(parms.andvals));
- parms.andvals[cr] = ~(1L << bit);
+ parms.andvals[cr] = ~(1UL << bit);
on_each_cpu(smp_ctl_bit_callback, &parms, 1);
}
EXPORT_SYMBOL(smp_ctl_clear_bit);
OpenPOWER on IntegriCloud