Commit 772a0dc5 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 91368d73
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
struct proc_dir_entry; struct proc_dir_entry;
struct pt_regs; struct pt_regs;
struct notifier_block;
/* init basic kernel profiler */ /* init basic kernel profiler */
void __init profile_init(void); void __init profile_init(void);
...@@ -32,7 +33,6 @@ enum profile_type { ...@@ -32,7 +33,6 @@ enum profile_type {
#ifdef CONFIG_PROFILING #ifdef CONFIG_PROFILING
struct notifier_block;
struct task_struct; struct task_struct;
struct mm_struct; struct mm_struct;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment