]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] notifier: profile.h forward decl fix
authorAndrew Morton <akpm@osdl.org>
Thu, 23 Mar 2006 11:00:55 +0000 (03:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:16 +0000 (07:38 -0800)
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>
include/linux/profile.h

index 026969a5595c27909c29668d238d19afd903e55b..1f2fea6640a49212338cb9193080844182147803 100644 (file)
@@ -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;