]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/perf_event.h
Merge branch 'for-tip' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile...
[karo-tx-linux.git] / include / linux / perf_event.h
index 42a6daaf4e0af88bb78121742989503a46cbd2b2..e0373d26c24454a313fa47bb96d5211458db1c2d 100644 (file)
@@ -788,6 +788,12 @@ static inline int __perf_event_disable(void *info)                 { return -1; }
 static inline void perf_event_task_tick(void)                          { }
 #endif
 
+#if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_CPU_SUP_INTEL)
+extern void perf_restore_debug_store(void);
+#else
+static inline void perf_restore_debug_store(void)                      { }
+#endif
+
 #define perf_output_put(handle, x) perf_output_copy((handle), &(x), sizeof(x))
 
 /*