diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 13:38:49 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 13:39:00 +0100 |
commit | 6bcac508fbebdca52f5a55d69a4316997ecb5391 (patch) | |
tree | fa04ce94ef6267676e8edcd2f93ef776bd6e60eb /arch/s390 | |
parent | 7a0b4cbc7d7d99763511b488b08bbc2607ddd1e3 (diff) | |
download | kernel_samsung_tuna-6bcac508fbebdca52f5a55d69a4316997ecb5391.zip kernel_samsung_tuna-6bcac508fbebdca52f5a55d69a4316997ecb5391.tar.gz kernel_samsung_tuna-6bcac508fbebdca52f5a55d69a4316997ecb5391.tar.bz2 |
[S390] service level interface.
Add a new proc interface /proc/service_levels that allows any code
to report a relevant service level, e.g. the microcode level of
devices, the service level of the hypervisor, etc.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/sysinfo.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/s390/include/asm/sysinfo.h b/arch/s390/include/asm/sysinfo.h index 79d0134..ad93212 100644 --- a/arch/s390/include/asm/sysinfo.h +++ b/arch/s390/include/asm/sysinfo.h @@ -118,4 +118,15 @@ static inline int stsi(void *sysinfo, int fc, int sel1, int sel2) return r0; } +/* + * Service level reporting interface. + */ +struct service_level { + struct list_head list; + void (*seq_print)(struct seq_file *, struct service_level *); +}; + +int register_service_level(struct service_level *); +int unregister_service_level(struct service_level *); + #endif /* __ASM_S390_SYSINFO_H */ |