]> 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)
commit2c335e230fd9d856300b51910c2b2bae9302f158
treec266913e26887b660c926aaad972914ca5b7c1f0
parentcfb5b01723d78ffd49c662f252fccfd6de546337
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