]> err.no Git - linux-2.6/commit
[S390] Get rid of memcpy gcc warning workaround.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 5 Mar 2008 11:37:09 +0000 (12:37 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 5 Mar 2008 11:37:17 +0000 (12:37 +0100)
commit98c7b388afffdc5699095261b437b286d718270c
tree0d299b3a8e03c90963a95e44da0057892a490310
parent5ccd0e43bb916872022df974d0f39337797d9277
[S390] Get rid of memcpy gcc warning workaround.

Compile smp.o with -Wno-nonnull so gcc stops warning about memcpy
being used with a null parameter. Also remove the workaround code
and use a char * cast instead of a void * cast to do computations.

Cc: Bastian Blank <bastian@waldi.eu.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/Makefile
arch/s390/kernel/smp.c