lkml.org 
[lkml]   [2013]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 0/7] Minor Alpha updates for 3.11
On 07/16/2013 12:04:33 PM, Richard Henderson wrote:
> Here's a set of minor updates for arch/alpha that should not
> be controversial.

I also note that I had to do this to get busybox to build against
uClibc:

diff --git a/arch/alpha/include/uapi/asm/unistd.h
b/arch/alpha/include/uapi/asm/unistd.h
index 801d28b..1146e78 100644
--- a/arch/alpha/include/uapi/asm/unistd.h
+++ b/arch/alpha/include/uapi/asm/unistd.h
@@ -23,7 +23,7 @@
#define __NR_lseek 19
#define __NR_getxpid 20
#define __NR_osf_mount 21
-#define __NR_umount 22
+#define __NR_umount2 22
#define __NR_setuid 23
#define __NR_getxuid 24
#define __NR_exec_with_loader 25 /* not implemented */
@@ -253,7 +253,6 @@
#define __IGNORE_pause
#define __IGNORE_time
#define __IGNORE_utime
-#define __IGNORE_umount2

/*
* Linux-specific system calls begin at 300
@@ -279,7 +278,7 @@
#define __NR_sysinfo 318
#define __NR__sysctl 319
/* 320 was sys_idle. */
-#define __NR_oldumount 321
+#define __NR_umount 321
#define __NR_swapon 322
#define __NR_times 323
#define __NR_personality 324
(Because busybox uses umount2() directly. There's a man page for it and
everything.)

Rob

\
 
 \ /
  Last update: 2013-07-17 02:21    [W:0.297 / U:1.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site