X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fprofile.h;h=7e7087239af5fc0497ebf40bf92d65cb99b5749f;hb=cebbd3fb803603b12408458ba17c29ce1e15a5f2;hp=4081fa31081fe6d436a931520b6d7d29d9d506df;hpb=b03f6489f9f27dc519a4c60ebf39cc7b8a58eae7;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/profile.h b/include/linux/profile.h index 4081fa31081..7e7087239af 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 {