diff options
author | Martin Schwidefsky | 2008-12-25 13:38:49 +0100 |
---|---|---|
committer | Martin Schwidefsky | 2008-12-25 13:39:00 +0100 |
commit | 6bcac508fbebdca52f5a55d69a4316997ecb5391 (patch) | |
tree | fa04ce94ef6267676e8edcd2f93ef776bd6e60eb /arch | |
parent | 7a0b4cbc7d7d99763511b488b08bbc2607ddd1e3 (diff) |
[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')
-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 79d01343f8b0..ad93212d9e16 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 */ |