alpha: implement HW performance events on the EV67 and later CPUs
[sfrench/cifs-2.6.git] / arch / alpha / include / asm / perf_event.h
index 3bef8522017c23094e1cee52ffd2ef6da28a54e0..4157cd3c44a96d2811410b334a35f11923ba6fbf 100644 (file)
@@ -2,8 +2,14 @@
 #define __ASM_ALPHA_PERF_EVENT_H
 
 /* Alpha only supports software events through this interface. */
 #define __ASM_ALPHA_PERF_EVENT_H
 
 /* Alpha only supports software events through this interface. */
-static inline void set_perf_event_pending(void) { }
+extern void set_perf_event_pending(void);
 
 #define PERF_EVENT_INDEX_OFFSET 0
 
 
 #define PERF_EVENT_INDEX_OFFSET 0
 
+#ifdef CONFIG_PERF_EVENTS
+extern void init_hw_perf_events(void);
+#else
+static inline void init_hw_perf_events(void)    { }
+#endif
+
 #endif /* __ASM_ALPHA_PERF_EVENT_H */
 #endif /* __ASM_ALPHA_PERF_EVENT_H */