s390/sclp: unify basic sclp access by exposing "struct sclp"
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Wed, 6 May 2015 11:18:59 +0000 (13:18 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 13 May 2015 07:58:17 +0000 (09:58 +0200)
commit37c5f6c86cf5cda66c71c3bb1672e3b09d81c6da
tree4926bbcc67eb0b74f22634c63866040d1699e63d
parent9747bc47b340228a007efcc262c0bc4d2e94116d
s390/sclp: unify basic sclp access by exposing "struct sclp"

Let's unify basic access to sclp fields by storing the data in an external
struct in asm/sclp.h.

The values can now directly be accessed by other components, so there is
no need for most accessor functions and external variables anymore.

The mtid, mtid_max and facility part will be cleaned up separately.

Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
14 files changed:
arch/s390/hypfs/hypfs_sprp.c
arch/s390/include/asm/sclp.h
arch/s390/kernel/crash_dump.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/mm/init.c
arch/s390/mm/mem_detect.c
drivers/s390/char/sclp.h
drivers/s390/char/sclp_cmd.c
drivers/s390/char/sclp_early.c
drivers/s390/char/zcore.c
drivers/s390/kvm/kvm_virtio.c