Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fe9844d5a32e7b2552a557a42a2a2dc0e378672c
Commit:     fe9844d5a32e7b2552a557a42a2a2dc0e378672c
Parent:     2a485d7ad2b68600e423f8799efc0d074029ec01
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 31 00:38:45 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 15:39:40 2007 -0700

    kdebug.h: forward-declare struct struct notifier_block
    
    alpha:
    
    In file included from kernel/notifier.c:1:
    include/linux/kdebug.h:14: warning: 'struct notifier_block' declared inside 
parameter list
    include/linux/kdebug.h:14: warning: its scope is only this definition or 
declaration, which is probably not what you want
    include/linux/kdebug.h:15: warning: 'struct notifier_block' declared inside 
parameter list
    kernel/notifier.c:529: error: conflicting types for 'register_die_notifier'
    include/linux/kdebug.h:14: error: previous declaration of 
'register_die_notifier' was here
    kernel/notifier.c:533: error: conflicting types for 'register_die_notifier'
    include/linux/kdebug.h:14: error: previous declaration of 
'register_die_notifier' was here
    kernel/notifier.c:536: error: conflicting types for 
'unregister_die_notifier'
    include/linux/kdebug.h:15: error: previous declaration of 
'unregister_die_notifier' was here
    kernel/notifier.c:539: error: conflicting types for 
'unregister_die_notifier'
    include/linux/kdebug.h:15: error: previous declaration of 
'unregister_die_notifier' was here
    
    Cc: Richard Henderson <[EMAIL PROTECTED]>
    Cc: Ivan Kokshaysky <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 include/linux/kdebug.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/kdebug.h b/include/linux/kdebug.h
index 5db38d6..ed81509 100644
--- a/include/linux/kdebug.h
+++ b/include/linux/kdebug.h
@@ -3,6 +3,8 @@
 
 #include <asm/kdebug.h>
 
+struct notifier_block;
+
 struct die_args {
        struct pt_regs *regs;
        const char *str;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to