]> git.baikalelectronics.ru Git - kernel.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)
commit9bc53750b331329f7a575e48bf749afdf8ff8b80
treeabcda8b730dca3c3d19aa36c5eb5ea8433c89f2b
parent006758a253939020783f136ac49f645d1ad6d533
[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