From: Andrew Morton Date: Thu, 23 Mar 2006 11:00:55 +0000 (-0800) Subject: [PATCH] notifier: profile.h forward decl fix X-Git-Tag: v2.6.17-rc1~1014 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=772a0dc5d2103baff2f15c2668930bcd37add777;p=platform%2Fkernel%2Flinux-3.10.git [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 Signed-off-by: Linus Torvalds --- diff --git a/include/linux/profile.h b/include/linux/profile.h index 026969a..1f2fea6 100644 --- a/include/linux/profile.h +++ b/include/linux/profile.h @@ -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;