]> git.baikalelectronics.ru Git - kernel.git/commitdiff
parisc: Use LINUX_GATEWAY_ADDR define instead of hardcoded value
authorHelge Deller <deller@gmx.de>
Sat, 29 Oct 2016 21:52:43 +0000 (23:52 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 2 Nov 2016 22:06:38 +0000 (23:06 +0100)
LINUX_GATEWAY_ADDR is defined in unistd.h. Let's use it.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/syscall.S

index deec1f8465e57c2f0fb28299bfd060b08e23526f..23de307c3052aa9ecac21fd6c294657fb53de447 100644 (file)
@@ -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 */