aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/hw_breakpoint.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-11-10 04:17:07 -0500
committerFrederic Weisbecker <fweisbec@gmail.com>2009-11-10 05:23:29 -0500
commitf60d24d2ad04977b0bd9e3eb35dba2d2fa569af9 (patch)
treeb9335a41bce33a05985634a382a5adcf837dec43 /kernel/hw_breakpoint.c
parent9f6b3c2c30cfbb1166ce7e74a8f9fd93ae19d2de (diff)
hw-breakpoints: Fix broken hw-breakpoint sample module
The hw-breakpoint sample module has been broken during the hw-breakpoint internals refactoring. Propagate the changes to it. Reported-by: "K. Prasad" <prasad@linux.vnet.ibm.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/hw_breakpoint.c')
-rw-r--r--kernel/hw_breakpoint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/hw_breakpoint.c b/kernel/hw_breakpoint.c
index e662dc991c96..9ea9414e0e58 100644
--- a/kernel/hw_breakpoint.c
+++ b/kernel/hw_breakpoint.c
@@ -454,6 +454,7 @@ fail:
454 /* return the error if any */ 454 /* return the error if any */
455 return ERR_PTR(err); 455 return ERR_PTR(err);
456} 456}
457EXPORT_SYMBOL_GPL(register_wide_hw_breakpoint);
457 458
458/** 459/**
459 * unregister_wide_hw_breakpoint - unregister a wide breakpoint in the kernel 460 * unregister_wide_hw_breakpoint - unregister a wide breakpoint in the kernel
@@ -470,7 +471,7 @@ void unregister_wide_hw_breakpoint(struct perf_event **cpu_events)
470 } 471 }
471 free_percpu(cpu_events); 472 free_percpu(cpu_events);
472} 473}
473 474EXPORT_SYMBOL_GPL(unregister_wide_hw_breakpoint);
474 475
475static struct notifier_block hw_breakpoint_exceptions_nb = { 476static struct notifier_block hw_breakpoint_exceptions_nb = {
476 .notifier_call = hw_breakpoint_exceptions_notify, 477 .notifier_call = hw_breakpoint_exceptions_notify,