diff for duplicates of <20050623172832.B26121@unix-os.sc.intel.com> diff --git a/a/1.txt b/N1/1.txt index 8e718fe..df51535 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,11 +9,13 @@ refuse to register kprobe. Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> -======================= arch/ia64/kernel/kprobes.c | 13 +++++++++++++ +=============================================== + arch/ia64/kernel/kprobes.c | 13 +++++++++++++ 1 files changed, 13 insertions(+) Index: linux-2.6.12-mm1/arch/ia64/kernel/kprobes.c -=================================--- linux-2.6.12-mm1.orig/arch/ia64/kernel/kprobes.c +=================================================================== +--- linux-2.6.12-mm1.orig/arch/ia64/kernel/kprobes.c +++ linux-2.6.12-mm1/arch/ia64/kernel/kprobes.c @@ -263,6 +263,13 @@ static inline void get_kprobe_inst(bundl } @@ -28,7 +30,7 @@ Index: linux-2.6.12-mm1/arch/ia64/kernel/kprobes.c + static int valid_kprobe_addr(int template, int slot, unsigned long addr) { - if ((slot > 2) || ((bundle_encoding[template][1] = L) && slot > 1)) { + if ((slot > 2) || ((bundle_encoding[template][1] == L) && slot > 1)) { @@ -271,6 +278,12 @@ static int valid_kprobe_addr(int templat return -EINVAL; } @@ -39,6 +41,6 @@ Index: linux-2.6.12-mm1/arch/ia64/kernel/kprobes.c + return -EINVAL; + } + - if (slot = 1) { + if (slot == 1) { printk(KERN_WARNING "Inserting kprobes on slot #1 " "is not supported\n"); diff --git a/a/content_digest b/N1/content_digest index 524e5dc..3bd2d9e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Keshavamurthy Anil S <anil.s.keshavamurthy@intel.com>\0" "Subject\0[patch][ia64]Refuse kprobe on ivt code\0" - "Date\0Fri, 24 Jun 2005 00:28:33 +0000\0" + "Date\0Thu, 23 Jun 2005 17:28:33 -0700\0" "To\0akpm@osdl.org\0" "Cc\0Linux Kernel <linux-kernel@vger.kernel.org>" " Linux IA64 <linux-ia64@vger.kernel.org>\0" @@ -17,11 +17,13 @@ "\n" "Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>\n" "\n" - "======================= arch/ia64/kernel/kprobes.c | 13 +++++++++++++\n" + "===============================================\n" + " arch/ia64/kernel/kprobes.c | 13 +++++++++++++\n" " 1 files changed, 13 insertions(+)\n" "\n" "Index: linux-2.6.12-mm1/arch/ia64/kernel/kprobes.c\n" - "=================================--- linux-2.6.12-mm1.orig/arch/ia64/kernel/kprobes.c\n" + "===================================================================\n" + "--- linux-2.6.12-mm1.orig/arch/ia64/kernel/kprobes.c\n" "+++ linux-2.6.12-mm1/arch/ia64/kernel/kprobes.c\n" "@@ -263,6 +263,13 @@ static inline void get_kprobe_inst(bundl\n" " \t}\n" @@ -36,7 +38,7 @@ "+\n" " static int valid_kprobe_addr(int template, int slot, unsigned long addr)\n" " {\n" - " \tif ((slot > 2) || ((bundle_encoding[template][1] = L) && slot > 1)) {\n" + " \tif ((slot > 2) || ((bundle_encoding[template][1] == L) && slot > 1)) {\n" "@@ -271,6 +278,12 @@ static int valid_kprobe_addr(int templat\n" " \t\treturn -EINVAL;\n" " \t}\n" @@ -47,8 +49,8 @@ "+ \t\treturn -EINVAL;\n" "+ \t}\n" "+\n" - " \tif (slot = 1) {\n" + " \tif (slot == 1) {\n" " \t\tprintk(KERN_WARNING \"Inserting kprobes on slot #1 \"\n" " \t\t \"is not supported\\n\");" -edc1246203c5b6c9e6c4be5ef5b5bdd5c45e4599ca66b953c2e7d83a62c3beb5 +0b06124905da3ebcff2d55814b2d24f6b3e7fb062f97036db639ba8b91c0a79e
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.