linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vmevent: add arm support
@ 2012-05-23  7:27 Bartlomiej Zolnierkiewicz
  2012-05-25  7:20 ` Pekka Enberg
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2012-05-23  7:27 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: Anton Vorontsov, linux-mm

From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Subject: [PATCH] vmevent: add arm support

Tested on ARM EXYNOS4210 (Universal C210 board).

Cc: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/include/asm/unistd.h        |    1 +
 arch/arm/kernel/calls.S              |    1 +
 tools/testing/vmevent/vmevent-test.c |    3 +++
 3 files changed, 5 insertions(+)

Index: b/arch/arm/include/asm/unistd.h
===================================================================
--- a/arch/arm/include/asm/unistd.h	2012-05-22 15:17:15.590826904 +0200
+++ b/arch/arm/include/asm/unistd.h	2012-05-22 15:17:43.990826872 +0200
@@ -404,6 +404,7 @@
 #define __NR_setns			(__NR_SYSCALL_BASE+375)
 #define __NR_process_vm_readv		(__NR_SYSCALL_BASE+376)
 #define __NR_process_vm_writev		(__NR_SYSCALL_BASE+377)
+#define __NR_vmevent_fd		(__NR_SYSCALL_BASE+378)
 
 /*
  * The following SWIs are ARM private.
Index: b/arch/arm/kernel/calls.S
===================================================================
--- a/arch/arm/kernel/calls.S	2012-05-22 15:16:31.646826898 +0200
+++ b/arch/arm/kernel/calls.S	2012-05-22 15:17:02.850825441 +0200
@@ -387,6 +387,7 @@
 /* 375 */	CALL(sys_setns)
 		CALL(sys_process_vm_readv)
 		CALL(sys_process_vm_writev)
+		CALL(sys_vmevent_fd)
 #ifndef syscalls_counted
 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
 #define syscalls_counted
Index: b/tools/testing/vmevent/vmevent-test.c
===================================================================
--- a/tools/testing/vmevent/vmevent-test.c	2012-05-22 15:18:46.702826642 +0200
+++ b/tools/testing/vmevent/vmevent-test.c	2012-05-22 15:19:21.302826872 +0200
@@ -3,6 +3,9 @@
 #if defined(__x86_64__)
 #include "../../../arch/x86/include/generated/asm/unistd_64.h"
 #endif
+#if defined(__arm__)
+#include "../../../arch/arm/include/asm/unistd.h"
+#endif
 
 #include <stdint.h>
 #include <stdlib.h>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] vmevent: add arm support
  2012-05-23  7:27 [PATCH] vmevent: add arm support Bartlomiej Zolnierkiewicz
@ 2012-05-25  7:20 ` Pekka Enberg
  0 siblings, 0 replies; 2+ messages in thread
From: Pekka Enberg @ 2012-05-25  7:20 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: Anton Vorontsov, linux-mm

On Wed, 23 May 2012, Bartlomiej Zolnierkiewicz wrote:

> From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Subject: [PATCH] vmevent: add arm support
> 
> Tested on ARM EXYNOS4210 (Universal C210 board).
> 
> Cc: Anton Vorontsov <anton.vorontsov@linaro.org>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>

Applied, thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-25  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23  7:27 [PATCH] vmevent: add arm support Bartlomiej Zolnierkiewicz
2012-05-25  7:20 ` Pekka Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).