From: Andrew Morton 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 --- include/linux/profile.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/profile.h~notifier-profileh-forward-decl include/linux/profile.h --- devel/include/linux/profile.h~notifier-profileh-forward-decl 2006-03-04 21:56:58.000000000 -0800 +++ devel-akpm/include/linux/profile.h 2006-03-04 21:58:34.000000000 -0800 @@ -14,6 +14,7 @@ struct proc_dir_entry; struct pt_regs; +struct notifier_block; /* init basic kernel profiler */ void __init profile_init(void); @@ -32,7 +33,6 @@ enum profile_type { #ifdef CONFIG_PROFILING -struct notifier_block; struct task_struct; struct mm_struct; _