]> git.baikalelectronics.ru Git - kernel.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)
commitd541f50f6dd7fdc47594d038c813fb22ede03f1f
treec266913e26887b660c926aaad972914ca5b7c1f0
parent34ae9b128d221c49e264ac5fa6a259c6ae28ad75
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