summaryrefslogtreecommitdiff
path: root/arch/s390x/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390x/reloc.h')
-rw-r--r--arch/s390x/reloc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390x/reloc.h b/arch/s390x/reloc.h
index a238dc65..38de9d9b 100644
--- a/arch/s390x/reloc.h
+++ b/arch/s390x/reloc.h
@@ -1,5 +1,3 @@
-#include <endian.h>
-
#define LDSO_ARCH "s390x"
#define REL_SYMBOLIC R_390_64
@@ -12,4 +10,4 @@
#define REL_TPOFF R_390_TLS_TPOFF
#define CRTJMP(pc,sp) __asm__ __volatile__( \
- "lgr %%r15,%1; br %0" : : "r"(pc), "r"(sp) : "memory" )
+ "lgr %%r15,%1; br %0" : : "a"(pc), "r"(sp) : "memory" )