Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] notifier: profile.h forward decl fix

Declarations use struct notifier_block on both legs of the ifdef, so move the
notifier_block forward declaration outside the ifdef.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andrew Morton and committed by
Linus Torvalds
772a0dc5 91368d73

+1 -1
+1 -1
include/linux/profile.h
··· 14 14 15 15 struct proc_dir_entry; 16 16 struct pt_regs; 17 + struct notifier_block; 17 18 18 19 /* init basic kernel profiler */ 19 20 void __init profile_init(void); ··· 33 32 34 33 #ifdef CONFIG_PROFILING 35 34 36 - struct notifier_block; 37 35 struct task_struct; 38 36 struct mm_struct; 39 37