summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-05-06 09:17:51 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-05-13 09:58:18 +0200
commit78335a30e0ea2ac79db5a9915fdf6edd9e8ded9b (patch)
tree09d2cadffa3de537b8295902a3918b5a40c07054 /drivers/s390/char/sclp.c
parents390/sclp: get rid of sclp_get_mtid() and sclp_get_mtid_max() (diff)
downloadlinux-78335a30e0ea2ac79db5a9915fdf6edd9e8ded9b.tar.xz
linux-78335a30e0ea2ac79db5a9915fdf6edd9e8ded9b.zip
s390/sclp: move sclp_facilities into "struct sclp"
Let's also move the facilities into the sclp struct, so we can avoid another separate external variable. 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>
Diffstat (limited to 'drivers/s390/char/sclp.c')
-rw-r--r--drivers/s390/char/sclp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c
index 41ba56d2e752..5e20513c0587 100644
--- a/drivers/s390/char/sclp.c
+++ b/drivers/s390/char/sclp.c
@@ -665,7 +665,7 @@ sclp_state_change_cb(struct evbuf_header *evbuf)
sclp_send_mask = scbuf->sclp_send_mask;
spin_unlock_irqrestore(&sclp_lock, flags);
if (scbuf->validity_sclp_active_facility_mask)
- sclp_facilities = scbuf->sclp_active_facility_mask;
+ sclp.facilities = scbuf->sclp_active_facility_mask;
sclp_dispatch_state_change();
}