]> git.baikalelectronics.ru Git - kernel.git/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)
commit04e660bcf72ccfdb09c2529820bec44ed3928f0d
tree0d299b3a8e03c90963a95e44da0057892a490310
parentf9d7bb7211a393a750f5c5a374c6ecf16635d498
[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