diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-07-25 04:45:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 13:53:27 -0400 |
commit | cebbd3fb803603b12408458ba17c29ce1e15a5f2 (patch) | |
tree | 9933d90901fbb9be6dca07816cbe4f8ecd580933 /include | |
parent | b03f6489f9f27dc519a4c60ebf39cc7b8a58eae7 (diff) |
build-kernel-profileo-only-when-requested-cleanups
Cc: Adrian Bunk <bunk@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/profile.h | 6 |
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; | |||
18 | struct notifier_block; | 18 | struct notifier_block; |
19 | 19 | ||
20 | #if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS) | 20 | #if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS) |
21 | void create_prof_cpu_mask(struct proc_dir_entry *); | 21 | void 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) | 23 | static inline void create_prof_cpu_mask(struct proc_dir_entry *de) |
24 | { | ||
25 | } | ||
24 | #endif | 26 | #endif |
25 | 27 | ||
26 | enum profile_type { | 28 | enum profile_type { |