Commit e14112d1 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

perfcounters: remove powerpc definitions of perf_counter_do_pending

Commit 925d519a ("perf_counter:
unify and fix delayed counter wakeup") added global definitions.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarPaul Mackerras <paulus@samba.org>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a525890c
...@@ -156,8 +156,6 @@ static inline void clear_perf_counter_pending(void) ...@@ -156,8 +156,6 @@ static inline void clear_perf_counter_pending(void)
"i" (offsetof(struct paca_struct, perf_counter_pending))); "i" (offsetof(struct paca_struct, perf_counter_pending)));
} }
extern void perf_counter_do_pending(void);
#else #else
static inline unsigned long test_perf_counter_pending(void) static inline unsigned long test_perf_counter_pending(void)
...@@ -167,7 +165,6 @@ static inline unsigned long test_perf_counter_pending(void) ...@@ -167,7 +165,6 @@ static inline unsigned long test_perf_counter_pending(void)
static inline void set_perf_counter_pending(void) {} static inline void set_perf_counter_pending(void) {}
static inline void clear_perf_counter_pending(void) {} static inline void clear_perf_counter_pending(void) {}
static inline void perf_counter_do_pending(void) {}
#endif /* CONFIG_PERF_COUNTERS */ #endif /* CONFIG_PERF_COUNTERS */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/perf_counter.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/system.h> #include <asm/system.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment