]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] cio: use barrier() in stsch_reset.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 9 Jan 2007 09:18:41 +0000 (10:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Jan 2007 09:18:41 +0000 (10:18 +0100)
commit6f81f07a9123ecbda039c916eea48519dce4c88b
tree4a8aa9cc9d0f9538ee19847e762e612069699da6
parent1f4856645e6d009eafddcddc07a1cf7d6a69992b
[S390] cio: use barrier() in stsch_reset.

Use barrier() in stsch_reset() instead of duplicating the stsch()
inline assembly and adding "memory" to the clobberlist.
Pointed out by Chuck Ebbert.

Real fix would be to add a fixup section to the stsch() and extend the
basic program check handler so it searches the exception tables in case
of a program check.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cio.c