]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: add tpi.h header file
authorSven Schnelle <svens@linux.ibm.com>
Mon, 10 May 2021 19:10:15 +0000 (21:10 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Jun 2021 15:07:01 +0000 (17:07 +0200)
commit9f076b15668516a85b370f5245878fa2555e6940
tree8412bdfc51f7b56bab5c12baf465bae9661953bb
parentc715b00fa039483d8fe0f1781abc717501d33826
s390/cio: add tpi.h header file

For future work we need the struct tpi_info declaration in asm/ptrace.h.
Due to circular dependencies it cannot stay in asm/lowcore.h or asm/cio.h,
which would be the preferred location. Therefore add it in its own header
file.

Also fix a typo in the length of a reserved field that did not have a
functional effect beyond an incorrect field value in the s390_cio_tpi
tracepoint.

Fixes: 42ace32b5b77 ("s390/cio: Consolidate inline assemblies and related data definitions")
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/cio.h
arch/s390/include/asm/tpi.h [new file with mode: 0644]
drivers/s390/cio/cio.h