From d2099b0d6de5c85822297761fd353a17871121c5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 13 Nov 1997 00:19:24 +0000 Subject: [PATCH] (SYS_ify): Don't add SWI_BASE in twice. --- sysdeps/unix/sysv/linux/arm/sysdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.h b/sysdeps/unix/sysv/linux/arm/sysdep.h index 0aa085d..af08277 100644 --- a/sysdeps/unix/sysv/linux/arm/sysdep.h +++ b/sysdeps/unix/sysv/linux/arm/sysdep.h @@ -29,8 +29,8 @@ of the kernel. But these symbols do not follow the SYS_* syntax so we have to redefine the `SYS_ify' macro here. */ #undef SYS_ify -#define SWI_BASE (9 << 20) -#define SYS_ify(syscall_name) (SWI_BASE + __NR_##syscall_name) +#define SWI_BASE (0x900000) +#define SYS_ify(syscall_name) (__NR_##syscall_name) #ifdef ASSEMBLER -- 2.7.4