[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)
commit818c272bd74b834c3ca9347c6a540c2ec880afdc
treece5353ca2f9b0786096508ff218f2615ecb06807
parent6a5176c474e3e722ab273d940442238e554e5e58
[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