diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-06-27 16:52:38 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-07-31 12:27:58 +0300 |
commit | be2412c247c16c0ea4dd3293e8046e1b383c3bb6 (patch) | |
tree | c266913e26887b660c926aaad972914ca5b7c1f0 /arch/s390/kernel/entry.h | |
parent | cf9fdfea5f01bfebeeb28b4b27dc5151c7ea29d3 (diff) | |
download | linux-be2412c247c16c0ea4dd3293e8046e1b383c3bb6.tar.xz |
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>
Diffstat (limited to 'arch/s390/kernel/entry.h')
-rw-r--r-- | arch/s390/kernel/entry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/entry.h b/arch/s390/kernel/entry.h index bedd2f55d860..e79f030dd276 100644 --- a/arch/s390/kernel/entry.h +++ b/arch/s390/kernel/entry.h @@ -79,4 +79,6 @@ long sys_s390_pci_mmio_read(unsigned long, void __user *, size_t); DECLARE_PER_CPU(u64, mt_cycles[8]); +void verify_facilities(void); + #endif /* _ENTRY_H */ |