aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/profile.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-07-25 01:45:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:27 -0700
commitcebbd3fb803603b12408458ba17c29ce1e15a5f2 (patch)
tree9933d90901fbb9be6dca07816cbe4f8ecd580933 /include/linux/profile.h
parentb03f6489f9f27dc519a4c60ebf39cc7b8a58eae7 (diff)
downloadkernel_goldelico_gta04-cebbd3fb803603b12408458ba17c29ce1e15a5f2.zip
kernel_goldelico_gta04-cebbd3fb803603b12408458ba17c29ce1e15a5f2.tar.gz
kernel_goldelico_gta04-cebbd3fb803603b12408458ba17c29ce1e15a5f2.tar.bz2
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/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 4081fa3..7e70872 100644
--- a/include/linux/profile.h
+++ b/include/linux/profile.h
@@ -18,9 +18,11 @@ struct pt_regs;
struct notifier_block;
#if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS)
-void create_prof_cpu_mask(struct proc_dir_entry *);
+void create_prof_cpu_mask(struct proc_dir_entry *de);
#else
-#define create_prof_cpu_mask(x) do { (void)(x); } while (0)
+static inline void create_prof_cpu_mask(struct proc_dir_entry *de)
+{
+}
#endif
enum profile_type {