From 0cd852acdf00af7b5e7efa6d3e76885d0ab08c89 Mon Sep 17 00:00:00 2001 From: Frederic Weisbecker Date: Sun, 22 Nov 2009 05:21:35 +0100 Subject: [PATCH] --- yaml --- r: 169733 b: refs/heads/master c: 5093ebad5f2348076fdc3dac7d2358b1ad7f85f7 h: refs/heads/master i: 169731: dfa8d20754389ed8d51ef3007ba968d194fa202c v: v3 --- [refs] | 2 +- trunk/include/linux/hw_breakpoint.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a6d6eb13e140..37c946fb5e0a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b3a75542d329ce4e1c66b293cefeb4429a2af043 +refs/heads/master: 5093ebad5f2348076fdc3dac7d2358b1ad7f85f7 diff --git a/trunk/include/linux/hw_breakpoint.h b/trunk/include/linux/hw_breakpoint.h index 0b98cbf76da7..4659e0c55ea6 100644 --- a/trunk/include/linux/hw_breakpoint.h +++ b/trunk/include/linux/hw_breakpoint.h @@ -16,6 +16,7 @@ enum { HW_BREAKPOINT_X = 4, }; +#ifdef __KERNEL__ #ifdef CONFIG_HAVE_HW_BREAKPOINT static inline unsigned long hw_breakpoint_addr(struct perf_event *bp) @@ -133,5 +134,6 @@ static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp) } #endif /* CONFIG_HAVE_HW_BREAKPOINT */ +#endif /* __KERNEL__ */ #endif /* _LINUX_HW_BREAKPOINT_H */