From: Heiko Carstens Date: Mon, 14 Jul 2008 07:57:26 +0000 (+0200) Subject: [S390] sclp: keep facility mask up to date. X-Git-Tag: v2.6.27-rc1~1112^2~67 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=887d935a84df41f154508821c6b7d96de7dc2c41;p=linux-2.6-omap-h63xx.git [S390] sclp: keep facility mask up to date. In case the supported sclp facilities change the new mask should be saved. Cc: Peter Oberparleiter Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c index 2c7a1ee6b04..277f9ccfbb7 100644 --- a/drivers/s390/char/sclp.c +++ b/drivers/s390/char/sclp.c @@ -506,6 +506,8 @@ sclp_state_change_cb(struct evbuf_header *evbuf) if (scbuf->validity_sclp_send_mask) 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_dispatch_state_change(); }