aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/profile.h')
-rw-r--r--include/linux/profile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/profile.h b/include/linux/profile.h
index 4081fa31081f..7e7087239af5 100644
--- a/include/linux/profile.h
+++ b/include/linux/profile.h
@@ -18,9 +18,11 @@ struct pt_regs;
18struct notifier_block; 18struct notifier_block;
19 19
20#if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS) 20#if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS)
21void create_prof_cpu_mask(struct proc_dir_entry *); 21void create_prof_cpu_mask(struct proc_dir_entry *de);
22#else 22#else
23#define create_prof_cpu_mask(x) do { (void)(x); } while (0) 23static inline void create_prof_cpu_mask(struct proc_dir_entry *de)
24{
25}
24#endif 26#endif
25 27
26enum profile_type { 28enum profile_type {