Re: [PATCH] m68k: Wire up process_vm_{read,write}v

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Geert,

On 21/11/11 07:10, Geert Uytterhoeven wrote:
Signed-off-by: Geert Uytterhoeven<geert@xxxxxxxxxxxxxx>

Looks good.

Acked-by: Greg Ungerer <gerg@xxxxxxxxxxx>

Regards
Greg


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

diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
index d97234b..ea0b502 100644
--- a/arch/m68k/include/asm/unistd.h
+++ b/arch/m68k/include/asm/unistd.h
@@ -350,10 +350,12 @@
  #define __NR_clock_adjtime	342
  #define __NR_syncfs		343
  #define __NR_setns		344
+#define __NR_process_vm_readv	345
+#define __NR_process_vm_writev	346

  #ifdef __KERNEL__

-#define NR_syscalls		345
+#define NR_syscalls		347

  #define __ARCH_WANT_IPC_PARSE_VERSION
  #define __ARCH_WANT_OLD_READDIR
diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S
index c468f2e..ce827b3 100644
--- a/arch/m68k/kernel/syscalltable.S
+++ b/arch/m68k/kernel/syscalltable.S
@@ -365,4 +365,6 @@ ENTRY(sys_call_table)
  	.long sys_clock_adjtime
  	.long sys_syncfs
  	.long sys_setns
+	.long sys_process_vm_readv	/* 345 */
+	.long sys_process_vm_writev



--
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg@xxxxxxxxxxxx
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Video for Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux