]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] cio: allow enable_facility from outside init functions
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 22 Apr 2010 15:17:03 +0000 (17:17 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Thu, 22 Apr 2010 15:17:19 +0000 (17:17 +0200)
commit01fd92a3702e6542f23beaffa31327b596ab167b
treece5353ca2f9b0786096508ff218f2615ecb06807
parent629a2c53ba7f1988f968b1072ad4968702814ed4
[S390] cio: allow enable_facility from outside init functions

Prepare chsc_enable_facility to be used from outside init functions.
Use static memory for the chsc call and protect its access by a
spinlock (although there is no concurrent usage).

Cc: <stable@kernel.org>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chsc.c
drivers/s390/cio/css.c