diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2012-08-28 16:47:02 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-26 15:44:59 +0200 |
commit | 40ff4cc06697e8ba3f8ce93b0592ddbcf70cd444 (patch) | |
tree | fde6248c494240b4fbbc449bb3ddd1025ad099f9 /drivers/s390/cio/chsc.h | |
parent | 1d1c8f78bed5f8e769757525bd9c2dec69f11a44 (diff) | |
download | linux-stable-40ff4cc06697e8ba3f8ce93b0592ddbcf70cd444.tar.gz linux-stable-40ff4cc06697e8ba3f8ce93b0592ddbcf70cd444.tar.bz2 linux-stable-40ff4cc06697e8ba3f8ce93b0592ddbcf70cd444.zip |
s390: add scm notification
Detect an scm change notification in store event information.
Update affected scm devices and notify their drivers.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.h')
-rw-r--r-- | drivers/s390/cio/chsc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/s390/cio/chsc.h b/drivers/s390/cio/chsc.h index 3aa94fe7a676..662dab4b93e6 100644 --- a/drivers/s390/cio/chsc.h +++ b/drivers/s390/cio/chsc.h @@ -154,4 +154,11 @@ struct chsc_scm_info { int chsc_scm_info(struct chsc_scm_info *scm_area, u64 token); +#ifdef CONFIG_SCM_BUS +int scm_update_information(void); +#else /* CONFIG_SCM_BUS */ +#define scm_update_information() 0 +#endif /* CONFIG_SCM_BUS */ + + #endif |