From: Andrew Morton Date: Fri, 25 Jul 2008 08:45:35 +0000 (-0700) Subject: build-kernel-profileo-only-when-requested-cleanups X-Git-Tag: v2.6.27-rc1~482 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cebbd3fb803603b12408458ba17c29ce1e15a5f2;p=linux-2.6 build-kernel-profileo-only-when-requested-cleanups Cc: Adrian Bunk Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/profile.h b/include/linux/profile.h index 4081fa3108..7e7087239a 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 {