Skip to content

Commit

Permalink
[S390] cio: remove stsch
Browse files Browse the repository at this point in the history
Since 8821d24 we no longer
use the plain stsch inline function but the one which can
handle exceptions. Remove the unused function.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed May 26, 2010
1 parent 2ffbb3f commit a65a3e8
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions drivers/s390/cio/ioasm.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,6 @@ struct tpi_info {
* Some S390 specific IO instructions as inline
*/

static inline int stsch(struct subchannel_id schid, struct schib *addr)
{
register struct subchannel_id reg1 asm ("1") = schid;
int ccode;

asm volatile(
" stsch 0(%3)\n"
" ipm %0\n"
" srl %0,28"
: "=d" (ccode), "=m" (*addr)
: "d" (reg1), "a" (addr)
: "cc");
return ccode;
}

static inline int stsch_err(struct subchannel_id schid, struct schib *addr)
{
register struct subchannel_id reg1 asm ("1") = schid;
Expand Down

0 comments on commit a65a3e8

Please sign in to comment.