]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/als: convert architecture level set code to C
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 27 Jun 2016 13:52:38 +0000 (15:52 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 31 Jul 2016 09:27:58 +0000 (05:27 -0400)
commitbe2412c247c16c0ea4dd3293e8046e1b383c3bb6
treec266913e26887b660c926aaad972914ca5b7c1f0
parentcf9fdfea5f01bfebeeb28b4b27dc5151c7ea29d3
s390/als: convert architecture level set code to C

There is no reason to have this code in assembly language. Therefore
convert it to C.

Note that this code needs special treatment: it is called very early
and one of the side effects is that e.g. the bss section is not
cleared. Therefore the preferred way for static variables is to put
them on the stack which has a size of 16KB.

There is no functional change with this patch.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/compressed/Makefile
arch/s390/kernel/Makefile
arch/s390/kernel/als.c [new file with mode: 0644]
arch/s390/kernel/entry.h
arch/s390/kernel/head.S