[PATCH] s390: fix locking in __chp_add() and s390_subchannel_remove_chpid()
authorCornelia Huck <cornelia.huck@de.ibm.com>
Sun, 12 Feb 2006 01:55:57 +0000 (17:55 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 12 Feb 2006 05:41:11 +0000 (21:41 -0800)
commitc48d865c50e8626372a52094385fb1f5a2d2a7fd
treede239992c17b2db616d9487ec8f150ddec09031e
parentc0cdf1935cf328730fa068e0f39a22e6149555aa
[PATCH] s390: fix locking in __chp_add() and s390_subchannel_remove_chpid()

Fix locking in __chp_add() and s390_subchannel_remove_chpid(): Need to
disable/enable because they are always called from a thread (and not
directly from a machine check...)

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/cio/chsc.c