]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] cio: kernel stack overflow.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 30 Aug 2006 12:33:35 +0000 (14:33 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 Aug 2006 12:33:35 +0000 (14:33 +0200)
commit292888c81e74115db5e5a4a838f730a7c3662982
tree16f7b7bf39cd8a72fa8d3aa5b71c8dc890b57c96
parent8f61701bdf536c7a80f0f614bac91c7883804c4c
[S390] cio: kernel stack overflow.

Use different kind of assignment to make sure gcc doesn't create code
that creates temp variables on the stack, assigns values to it and
copies the content of the whole temp variable to the destination.
This reduces stack usage of e.g. ccwgroup_driver_register from 976
to 48 bytes instead.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/ccwgroup.c
drivers/s390/cio/chsc.c
drivers/s390/cio/device.c
drivers/s390/cio/device_fsm.c