]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] vdso: compile fix
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 9 Jan 2009 11:14:54 +0000 (12:14 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 9 Jan 2009 11:15:06 +0000 (12:15 +0100)
commit81ffa0415b7ac9215c2030e2b15b8efff46605a0
treeabcda8b730dca3c3d19aa36c5eb5ea8433c89f2b
parentf47d52afd3bc310a010a037f3cd69d75d163e845
[S390] vdso: compile fix

!CONFIG_SMP:

arch/s390/kernel/vdso.c: In function 'vdso_init':
arch/s390/kernel/vdso.c:325: error: incompatible type for argument 2 of 'vdso_alloc_per_cpu'

Also move the code out of the BUG_ON statement since it won't be
executed on !CONFIG_BUG. And that would be a bug.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c
arch/s390/kernel/vdso.c