From f1292c34b589f18b1d1734bf248b2a6b59dad287 Mon Sep 17 00:00:00 2001 From: Frederic Weisbecker Date: Mon, 23 Nov 2009 22:30:12 +0100 Subject: [PATCH] --- yaml --- r: 169761 b: refs/heads/master c: fa7c27ee9394fc0d52404b2a89882e95868a60b9 h: refs/heads/master i: 169759: ddfb5771d89173bfb07cad795fef023c932b70ac v: v3 --- [refs] | 2 +- trunk/include/linux/hw_breakpoint.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f17c7e360634..5b0525f7a24e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1b145ae58035f30353d78d25bea665091df9b438 +refs/heads/master: fa7c27ee9394fc0d52404b2a89882e95868a60b9 diff --git a/trunk/include/linux/hw_breakpoint.h b/trunk/include/linux/hw_breakpoint.h index 76a48ab9a81e..c9f7f7c7b0e0 100644 --- a/trunk/include/linux/hw_breakpoint.h +++ b/trunk/include/linux/hw_breakpoint.h @@ -15,10 +15,11 @@ enum { }; #ifdef __KERNEL__ -#ifdef CONFIG_HAVE_HW_BREAKPOINT #include +#ifdef CONFIG_HAVE_HW_BREAKPOINT + static inline unsigned long hw_breakpoint_addr(struct perf_event *bp) { return bp->attr.bp_addr;