diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-23 03:00:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:16 -0800 |
commit | 772a0dc5d2103baff2f15c2668930bcd37add777 (patch) | |
tree | d1f9a8e1b676e7e018edc926895b677a65a89d6a /include/linux/profile.h | |
parent | 91368d73e4b60d577ad171e5bd315b564265fcdb (diff) | |
download | lwn-772a0dc5d2103baff2f15c2668930bcd37add777.tar.gz lwn-772a0dc5d2103baff2f15c2668930bcd37add777.zip |
[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>
Diffstat (limited to 'include/linux/profile.h')
-rw-r--r-- | include/linux/profile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/profile.h b/include/linux/profile.h index 026969a5595c..1f2fea6640a4 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; |