Skip to contentSkip to conversation

MIPS: Fix a copy & paste error in unistd.h

PATCH In review Huacai Chen 1 participant 2 messages Nov 12, 2014 – Nov 16, 2014 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Fix a copy & paste error in unistd.h

Commit 5df4c8dbbc (MIPS: Wire up bpf syscall.) break the N32 build because of a copy & paste error.

---
 arch/mips/include/uapi/asm/unistd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/include/uapi/asm/unistd.h +1 -1
index 9dc5856..d001bb1 100644
@@ -1045,7 +1045,7 @@
 #define __NR_seccomp			(__NR_Linux + 316)
 #define __NR_getrandom			(__NR_Linux + 317)
 #define __NR_memfd_create		(__NR_Linux + 318)
-#define __NR_memfd_create		(__NR_Linux + 319)
+#define __NR_bpf			(__NR_Linux + 319)
 
 /*
  * Offset of the last N32 flavoured syscall
Signature · 1 line
1.7.7.3
#1 lore raw

Hi, Ralf,

It seems like this patch is missing during rebase.

Huacai

Quoted 24 lines · Huacai Chen

Commit 5df4c8dbbc (MIPS: Wire up bpf syscall.) break the N32 build because of a copy & paste error.

---
 arch/mips/include/uapi/asm/unistd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/include/uapi/asm/unistd.h +1 -2
index 9dc5856..d001bb1 100644
@@ -1045,7 +1045,7 @@
 #define __NR_seccomp                   (__NR_Linux + 316)
 #define __NR_getrandom                 (__NR_Linux + 317)
 #define __NR_memfd_create              (__NR_Linux + 318)
-#define __NR_memfd_create              (__NR_Linux + 319)
+#define __NR_bpf                       (__NR_Linux + 319)
 
 /*
  * Offset of the last N32 flavoured syscall
--

1.7.7.3