Commit cebbd3fb authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

build-kernel-profileo-only-when-requested-cleanups

Cc: Adrian Bunk <bunk@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b03f6489
...@@ -18,9 +18,11 @@ struct pt_regs; ...@@ -18,9 +18,11 @@ struct pt_regs;
struct notifier_block; struct notifier_block;
#if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS) #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 #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 #endif
enum profile_type { enum profile_type {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment