]> git.baikalelectronics.ru Git - kernel.git/commit
kprobes: Fix selftest to clear flags field for reusing probes
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 14 Oct 2010 03:10:24 +0000 (12:10 +0900)
committerIngo Molnar <mingo@elte.hu>
Thu, 14 Oct 2010 06:55:27 +0000 (08:55 +0200)
commit4e994ee91c0bacafd43fc4264c493399a2624732
tree447aad5f52452d17145c75dfe9e900ba7b457466
parent76c1f2563bbe0e1f915e3ac88e2ab93b9a40f6b8
kprobes: Fix selftest to clear flags field for reusing probes

Fix selftest to clear flags field for reusing probes
because the flags field can be modified by Kprobes.
This also set NULL to kprobe.addr instead of 0.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: 2nddept-manager@sdl.hitachi.co.jp
LKML-Reference: <20101014031024.4100.50107.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/test_kprobes.c