From: Martin Schwidefsky Date: Mon, 5 Mar 2007 22:35:38 +0000 (+0100) Subject: [S390] kprobes breaks BUG_ON X-Git-Tag: v2.6.21-rc3~3^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f794c8279d02ccd69429d816eb03fa12c130d06d;p=pandora-kernel.git [S390] kprobes breaks BUG_ON The illegal operation handler calls the die notifier with DIE_BPT to let kprobes pick up its breakpoint. If kprobes does not find its breakpoint it returns NOTIFY_STOP instead of NOTIFY_DONE. Since we use stop_machine_run on s390 to arm/disarm the kprobes breakpoints the race that kprobe_handler tries to solve by checking for the kprobes breakpoints does not exist. Removing the check makes BUG_ON working again. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed