Re: [PATCH] m68k: Wire up kcmp

2012-10-18 Thread Greg Ungerer

On 19/10/12 03:32, Geert Uytterhoeven wrote:

Signed-off-by: Geert Uytterhoeven 


Looks good Geert.

Acked-by: Greg Ungerer 

Rgeards
Greg




---
  arch/m68k/include/asm/unistd.h  |2 +-
  arch/m68k/include/uapi/asm/unistd.h |1 +
  arch/m68k/kernel/syscalltable.S |1 +
  3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
index c004dfd..5fc7f7b 100644
--- a/arch/m68k/include/asm/unistd.h
+++ b/arch/m68k/include/asm/unistd.h
@@ -4,7 +4,7 @@
  #include 


-#define NR_syscalls347
+#define NR_syscalls348

  #define __ARCH_WANT_OLD_READDIR
  #define __ARCH_WANT_OLD_STAT
diff --git a/arch/m68k/include/uapi/asm/unistd.h 
b/arch/m68k/include/uapi/asm/unistd.h
index fdeb341..b94bfbf 100644
--- a/arch/m68k/include/uapi/asm/unistd.h
+++ b/arch/m68k/include/uapi/asm/unistd.h
@@ -352,5 +352,6 @@
  #define __NR_setns344
  #define __NR_process_vm_readv 345
  #define __NR_process_vm_writev346
+#define __NR_kcmp  347

  #endif /* _UAPI_ASM_M68K_UNISTD_H_ */
diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S
index ce827b3..4fc2e29 100644
--- a/arch/m68k/kernel/syscalltable.S
+++ b/arch/m68k/kernel/syscalltable.S
@@ -367,4 +367,5 @@ ENTRY(sys_call_table)
.long sys_setns
.long sys_process_vm_readv  /* 345 */
.long sys_process_vm_writev
+   .long sys_kcmp





--

Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, AustraliaWEB: http://www.SnapGear.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] m68k: Wire up kcmp

2012-10-18 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven 
---
 arch/m68k/include/asm/unistd.h  |2 +-
 arch/m68k/include/uapi/asm/unistd.h |1 +
 arch/m68k/kernel/syscalltable.S |1 +
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
index c004dfd..5fc7f7b 100644
--- a/arch/m68k/include/asm/unistd.h
+++ b/arch/m68k/include/asm/unistd.h
@@ -4,7 +4,7 @@
 #include 
 
 
-#define NR_syscalls347
+#define NR_syscalls348
 
 #define __ARCH_WANT_OLD_READDIR
 #define __ARCH_WANT_OLD_STAT
diff --git a/arch/m68k/include/uapi/asm/unistd.h 
b/arch/m68k/include/uapi/asm/unistd.h
index fdeb341..b94bfbf 100644
--- a/arch/m68k/include/uapi/asm/unistd.h
+++ b/arch/m68k/include/uapi/asm/unistd.h
@@ -352,5 +352,6 @@
 #define __NR_setns 344
 #define __NR_process_vm_readv  345
 #define __NR_process_vm_writev 346
+#define __NR_kcmp  347
 
 #endif /* _UAPI_ASM_M68K_UNISTD_H_ */
diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S
index ce827b3..4fc2e29 100644
--- a/arch/m68k/kernel/syscalltable.S
+++ b/arch/m68k/kernel/syscalltable.S
@@ -367,4 +367,5 @@ ENTRY(sys_call_table)
.long sys_setns
.long sys_process_vm_readv  /* 345 */
.long sys_process_vm_writev
+   .long sys_kcmp
 
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/