[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>
This commit is contained in:
committed by
Martin Schwidefsky
parent
6fc321fd7d
commit
f86635fad1
@@ -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(
|
||||
|
Reference in New Issue
Block a user