summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/ioasm.h
diff options
context:
space:
mode:
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>2007-04-27 16:01:26 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-04-27 16:01:38 +0200
commitf86635fad14c4a6810cf0e08488fc9129a3b3b32 (patch)
treeabd431344a28415983f6dcabdc3ac3ce5675e519 /drivers/s390/cio/ioasm.h
parent[S390] cio/ipl: Clean interface between cio and ipl code. (diff)
downloadlinux-f86635fad14c4a6810cf0e08488fc9129a3b3b32.tar.xz
linux-f86635fad14c4a6810cf0e08488fc9129a3b3b32.zip
[S390] cio: Introduce struct chp_id.
Introduce data type for channel-path IDs. Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/ioasm.h')
-rw-r--r--drivers/s390/cio/ioasm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/s390/cio/ioasm.h b/drivers/s390/cio/ioasm.h
index ad6d82940069..78c7db6daa84 100644
--- a/drivers/s390/cio/ioasm.h
+++ b/drivers/s390/cio/ioasm.h
@@ -2,6 +2,7 @@
#define S390_CIO_IOASM_H
#include "schid.h"
+#include "chpid.h"
/*
* TPI info structure
@@ -189,9 +190,9 @@ static inline int chsc(void *chsc_area)
return cc;
}
-static inline int rchp(int chpid)
+static inline int rchp(struct chp_id chpid)
{
- register unsigned int reg1 asm ("1") = chpid;
+ register struct chp_id reg1 asm ("1") = chpid;
int ccode;
asm volatile(