Skip to content

Commit

Permalink
parisc: Use LINUX_GATEWAY_ADDR define instead of hardcoded value
Browse files Browse the repository at this point in the history
LINUX_GATEWAY_ADDR is defined in unistd.h. Let's use it.

Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
Helge Deller committed Nov 2, 2016
1 parent 6ed5183 commit 6a6e2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/kernel/syscall.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6a6e2a1

Please sign in to comment.