diff options
author | Helge Deller <deller@gmx.de> | 2016-10-29 23:52:43 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-11-02 23:06:38 +0100 |
commit | 6a6e2a14bbc06a627acc71108808fdc866078db4 (patch) | |
tree | 4020bc19398e4d2b59ab2981db285fbfa884781b /arch/parisc/kernel/syscall.S | |
parent | parisc: Ensure consistent state when switching to kernel stack at syscall entry (diff) | |
download | linux-6a6e2a14bbc06a627acc71108808fdc866078db4.tar.xz linux-6a6e2a14bbc06a627acc71108808fdc866078db4.zip |
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 '')
-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: .endr /* This address must remain fixed at 0x100 for glibc's syscalls to work */ - .align 256 + .align LINUX_GATEWAY_ADDR linux_gateway_entry: gate .+8, %r0 /* become privileged */ mtsp %r0,%sr4 /* get kernel space into sr4 */ |