From: Ulrich Drepper Date: Thu, 13 Nov 1997 00:19:24 +0000 (+0000) Subject: (SYS_ify): Don't add SWI_BASE in twice. X-Git-Tag: glibc-2.16-ports-before-merge~3373 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2099b0d6de5c85822297761fd353a17871121c5;p=thirdparty%2Fglibc.git (SYS_ify): Don't add SWI_BASE in twice. --- diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.h b/sysdeps/unix/sysv/linux/arm/sysdep.h index 0aa085d351c..af08277a633 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