You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[S390] cio: remove stsch
Since 8821d24cd2 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>
This commit is contained in:
committed by
Martin Schwidefsky
parent
2ffbb3f61e
commit
a65a3e82b5
@@ -23,21 +23,6 @@ struct tpi_info {
|
|||||||
* Some S390 specific IO instructions as inline
|
* 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)
|
static inline int stsch_err(struct subchannel_id schid, struct schib *addr)
|
||||||
{
|
{
|
||||||
register struct subchannel_id reg1 asm ("1") = schid;
|
register struct subchannel_id reg1 asm ("1") = schid;
|
||||||
|
|||||||
Reference in New Issue
Block a user