projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91368d7
)
[PATCH] notifier: profile.h forward decl fix
author
Andrew Morton
<akpm@osdl.org>
Thu, 23 Mar 2006 11:00:55 +0000
(
03:00
-0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/profile.h
b/include/linux/profile.h
index 026969a5595c27909c29668d238d19afd903e55b..1f2fea6640a49212338cb9193080844182147803 100644
(file)
--- 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;