summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/crw.h
diff options
context:
space:
mode:
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>2015-12-18 12:59:32 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-12-18 14:59:34 +0100
commit2ab59de7c5ce7c5ed6db07278554901d43fe80a0 (patch)
treec5db8208dddcca4e9228f5ec57d6f80cc58b8232 /arch/s390/include/asm/crw.h
parentac357c4105ef6b2d44227aa349850a3c1a2994a5 (diff)
downloadop-kernel-dev-2ab59de7c5ce7c5ed6db07278554901d43fe80a0.zip
op-kernel-dev-2ab59de7c5ce7c5ed6db07278554901d43fe80a0.tar.gz
s390/cio: Consolidate inline assemblies and related data definitions
Replace the current semi-arbitrary distribution of inline assemblies: - Inline assemblies used by CIO go into ioasm.h - Data definitions used by inline assemblies go into cio.h Beyond cleaning up the current structure this is also required for use of tracepoints in inline assemblies introduced by a follow-on patch. Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Acked-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/crw.h')
-rw-r--r--arch/s390/include/asm/crw.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/s390/include/asm/crw.h b/arch/s390/include/asm/crw.h
index 7c31d3e..bcb9cd2 100644
--- a/arch/s390/include/asm/crw.h
+++ b/arch/s390/include/asm/crw.h
@@ -52,18 +52,4 @@ void crw_wait_for_channel_report(void);
#define CRW_ERC_PERRI 0x07 /* perm. error, facility init */
#define CRW_ERC_PMOD 0x08 /* installed parameters modified */
-static inline int stcrw(struct crw *pcrw)
-{
- int ccode;
-
- asm volatile(
- " stcrw 0(%2)\n"
- " ipm %0\n"
- " srl %0,28\n"
- : "=d" (ccode), "=m" (*pcrw)
- : "a" (pcrw)
- : "cc" );
- return ccode;
-}
-
#endif /* _ASM_S390_CRW_H */
OpenPOWER on IntegriCloud