mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
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>
This commit is contained in:
parent
6ed518328d
commit
6a6e2a14bb
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user