diff options
author | Helge Deller <deller@gmx.de> | 2016-10-29 17:52:43 -0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-11-02 18:06:38 -0400 |
commit | 6a6e2a14bbc06a627acc71108808fdc866078db4 (patch) | |
tree | 4020bc19398e4d2b59ab2981db285fbfa884781b /arch/parisc | |
parent | 6ed518328d0189e0fdf1bb7c73290d546143ea66 (diff) |
parisc: Use LINUX_GATEWAY_ADDR define instead of hardcoded value
LINUX_GATEWAY_ADDR is defined in unistd.h. Let's use it.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/syscall.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index deec1f8465e5..23de307c3052 100644 --- a/arch/parisc/kernel/syscall.S +++ b/arch/parisc/kernel/syscall.S | |||
@@ -100,7 +100,7 @@ set_thread_pointer: | |||
100 | .endr | 100 | .endr |
101 | 101 | ||
102 | /* This address must remain fixed at 0x100 for glibc's syscalls to work */ | 102 | /* This address must remain fixed at 0x100 for glibc's syscalls to work */ |
103 | .align 256 | 103 | .align LINUX_GATEWAY_ADDR |
104 | linux_gateway_entry: | 104 | linux_gateway_entry: |
105 | gate .+8, %r0 /* become privileged */ | 105 | gate .+8, %r0 /* become privileged */ |
106 | mtsp %r0,%sr4 /* get kernel space into sr4 */ | 106 | mtsp %r0,%sr4 /* get kernel space into sr4 */ |