diff for duplicates of <20130219065210.030802820@openvz.org> diff --git a/a/1.txt b/N1/1.txt index 2a1fb11..64ae482 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,3 +1,72 @@ -An embedded and charset-unspecified text was scrubbed... -Name: kcmp-config -URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130219/c46debdc/attachment.ksh> +Since kcmp syscall has been implemented (initially on +x86 architecture) a number of other archs wire it up +as well: xtensa, sparc, sh, s390, mips, microblaze, +m68k (not taking into account those who uses +<asm-generic/unistd.h> for syscall numbers +definitions). + +But the Makefile, which turns kcmp.o generation on +still depends on former config-x86. Thus get rid +of this limitation and make kcmp.o depend on CONFIG_KCMP +option. + +Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> +Cc: "Eric W. Biederman" <ebiederm@xmission.com> +Cc: Pavel Emelyanov <xemul@parallels.com> +Cc: Andrey Vagin <avagin@openvz.org> +Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com> +Cc: Ingo Molnar <mingo@elte.hu> +Cc: H. Peter Anvin <hpa@zytor.com> +Cc: Thomas Gleixner <tglx@linutronix.de> +Cc: Glauber Costa <glommer@parallels.com> +Cc: Andi Kleen <andi@firstfloor.org> +Cc: Tejun Heo <tj@kernel.org> +Cc: Matt Helsley <matthltc@us.ibm.com> +Cc: Pekka Enberg <penberg@kernel.org> +Cc: Eric Dumazet <eric.dumazet@gmail.com> +Cc: Vasiliy Kulikov <segoon@openwall.com> +Cc: Alexey Dobriyan <adobriyan@gmail.com> +Cc: Valdis.Kletnieks@vt.edu +Cc: Michal Marek <mmarek@suse.cz> +Cc: Frederic Weisbecker <fweisbec@gmail.com> +Cc: Andrew Morton <akpm@linux-foundation.org> +--- + init/Kconfig | 9 +++++++++ + kernel/Makefile | 4 +--- + 2 files changed, 10 insertions(+), 3 deletions(-) + +Index: linux-2.6.git/init/Kconfig +=================================================================== +--- linux-2.6.git.orig/init/Kconfig ++++ linux-2.6.git/init/Kconfig +@@ -279,6 +279,15 @@ config FHANDLE + get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2) + syscalls. + ++config KCMP ++ bool "kcmp syscall" ++ default n ++ help ++ If you say Y here, a user level program will be able to use ++ kcmp(2) syscall. ++ ++ If unsure, say N. ++ + config AUDIT + bool "Auditing support" + depends on NET +Index: linux-2.6.git/kernel/Makefile +=================================================================== +--- linux-2.6.git.orig/kernel/Makefile ++++ linux-2.6.git/kernel/Makefile +@@ -25,9 +25,7 @@ endif + obj-y += sched/ + obj-y += power/ + +-ifeq ($(CONFIG_CHECKPOINT_RESTORE),y) +-obj-$(CONFIG_X86) += kcmp.o +-endif ++obj-$(CONFIG_KCMP) += kcmp.o + obj-$(CONFIG_FREEZER) += freezer.o + obj-$(CONFIG_PROFILING) += profile.o + obj-$(CONFIG_STACKTRACE) += stacktrace.o diff --git a/a/content_digest b/N1/content_digest index 0766798..8cd40c9 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,12 +1,102 @@ "ref\020130219064800.719149796@openvz.org\0" - "From\0gorcunov@openvz.org (Cyrill Gorcunov)\0" + "From\0Cyrill Gorcunov <gorcunov@openvz.org>\0" "Subject\0[patch 1/2] kcmp: Make it to depend on CONFIG_KCMP\0" "Date\0Tue, 19 Feb 2013 10:48:01 +0400\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0linux-kernel@vger.kernel.org" + " linux-arm-kernel@lists.infradead.org\0" + "Cc\0ebiederm@xmission.com" + xemul@parallels.com + hpa@zytor.com + akpm@linux-foundation.org + Cyrill Gorcunov <gorcunov@openvz.org> + Andrey Vagin <avagin@openvz.org> + KOSAKI Motohiro <kosaki.motohiro@gmail.com> + Ingo Molnar <mingo@elte.hu> + Thomas Gleixner <tglx@linutronix.de> + Glauber Costa <glommer@parallels.com> + Andi Kleen <andi@firstfloor.org> + Tejun Heo <tj@kernel.org> + Matt Helsley <matthltc@us.ibm.com> + Pekka Enberg <penberg@kernel.org> + Eric Dumazet <eric.dumazet@gmail.com> + Vasiliy Kulikov <segoon@openwall.com> + Alexey Dobriyan <adobriyan@gmail.com> + Michal Marek <mmarek@suse.cz> + " Frederic Weisbecker <fweisbec@gmail.com>\0" "\00:1\0" + "fn\0kcmp-config\0" "b\0" - "An embedded and charset-unspecified text was scrubbed...\n" - "Name: kcmp-config\n" - URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130219/c46debdc/attachment.ksh> + "Since kcmp syscall has been implemented (initially on\n" + "x86 architecture) a number of other archs wire it up\n" + "as well: xtensa, sparc, sh, s390, mips, microblaze,\n" + "m68k (not taking into account those who uses\n" + "<asm-generic/unistd.h> for syscall numbers\n" + "definitions).\n" + "\n" + "But the Makefile, which turns kcmp.o generation on\n" + "still depends on former config-x86. Thus get rid\n" + "of this limitation and make kcmp.o depend on CONFIG_KCMP\n" + "option.\n" + "\n" + "Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>\n" + "Cc: \"Eric W. Biederman\" <ebiederm@xmission.com>\n" + "Cc: Pavel Emelyanov <xemul@parallels.com>\n" + "Cc: Andrey Vagin <avagin@openvz.org>\n" + "Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com>\n" + "Cc: Ingo Molnar <mingo@elte.hu>\n" + "Cc: H. Peter Anvin <hpa@zytor.com>\n" + "Cc: Thomas Gleixner <tglx@linutronix.de>\n" + "Cc: Glauber Costa <glommer@parallels.com>\n" + "Cc: Andi Kleen <andi@firstfloor.org>\n" + "Cc: Tejun Heo <tj@kernel.org>\n" + "Cc: Matt Helsley <matthltc@us.ibm.com>\n" + "Cc: Pekka Enberg <penberg@kernel.org>\n" + "Cc: Eric Dumazet <eric.dumazet@gmail.com>\n" + "Cc: Vasiliy Kulikov <segoon@openwall.com>\n" + "Cc: Alexey Dobriyan <adobriyan@gmail.com>\n" + "Cc: Valdis.Kletnieks@vt.edu\n" + "Cc: Michal Marek <mmarek@suse.cz>\n" + "Cc: Frederic Weisbecker <fweisbec@gmail.com>\n" + "Cc: Andrew Morton <akpm@linux-foundation.org>\n" + "---\n" + " init/Kconfig | 9 +++++++++\n" + " kernel/Makefile | 4 +---\n" + " 2 files changed, 10 insertions(+), 3 deletions(-)\n" + "\n" + "Index: linux-2.6.git/init/Kconfig\n" + "===================================================================\n" + "--- linux-2.6.git.orig/init/Kconfig\n" + "+++ linux-2.6.git/init/Kconfig\n" + "@@ -279,6 +279,15 @@ config FHANDLE\n" + " \t get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)\n" + " \t syscalls.\n" + " \n" + "+config KCMP\n" + "+\tbool \"kcmp syscall\"\n" + "+\tdefault n\n" + "+\thelp\n" + "+\t If you say Y here, a user level program will be able to use\n" + "+\t kcmp(2) syscall.\n" + "+\n" + "+\t If unsure, say N.\n" + "+\n" + " config AUDIT\n" + " \tbool \"Auditing support\"\n" + " \tdepends on NET\n" + "Index: linux-2.6.git/kernel/Makefile\n" + "===================================================================\n" + "--- linux-2.6.git.orig/kernel/Makefile\n" + "+++ linux-2.6.git/kernel/Makefile\n" + "@@ -25,9 +25,7 @@ endif\n" + " obj-y += sched/\n" + " obj-y += power/\n" + " \n" + "-ifeq ($(CONFIG_CHECKPOINT_RESTORE),y)\n" + "-obj-$(CONFIG_X86) += kcmp.o\n" + "-endif\n" + "+obj-$(CONFIG_KCMP) += kcmp.o\n" + " obj-$(CONFIG_FREEZER) += freezer.o\n" + " obj-$(CONFIG_PROFILING) += profile.o\n" + obj-$(CONFIG_STACKTRACE) += stacktrace.o -a7d40739e1f8586e06beabe9b47770c289c3dd3c1b7aa9b0680ea091363d4963 +b9f86aeac8d9e2a173dc608e15b745f7d088295bbf72d4fba3f59744defbff41
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.