The patch titled kprobes: fix prepare_booster to get correct slot has been added to the -mm tree. Its filename is kprobes-kprobe-booster-for-ia64-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: kprobes: fix prepare_booster to get correct slot From: Masami Hiramatsu <mhiramat@xxxxxxxxxx> Fix to get correct slot number from probing address in prepare_booster. Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx> Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx> Cc: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> Cc: Tony Luck <tony.luck@xxxxxxxxx> Cc: bibo,mao <bibo.mao@xxxxxxxxx> Cc: Rusty Lynch <rusty.lynch@xxxxxxxxx> Cc: Prasanna S Panchamukhi <prasanna@xxxxxxxxxx> Cc: Jim Keniston <jkenisto@xxxxxxxxxx> Cc: Shaohua Li <shaohua.li@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/ia64/kernel/kprobes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/ia64/kernel/kprobes.c~kprobes-kprobe-booster-for-ia64-fix arch/ia64/kernel/kprobes.c --- a/arch/ia64/kernel/kprobes.c~kprobes-kprobe-booster-for-ia64-fix +++ a/arch/ia64/kernel/kprobes.c @@ -565,7 +565,7 @@ static int __kprobes can_boost(bundle_t static void __kprobes prepare_booster(struct kprobe *p) { unsigned long addr = (unsigned long)p->addr & ~0xFULL; - unsigned int slot = addr & 0xf; + unsigned int slot = (unsigned long)p->addr & 0xf; struct kprobe *other_kp; if (can_boost(&p->ainsn.insn[0].bundle, slot, addr)) { _ Patches currently in -mm which might be from mhiramat@xxxxxxxxxx are kprobes-kprobe-booster-for-ia64.patch kprobes-kprobe-booster-for-ia64-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html