Commit:     a1e96b0310d70b72012b5ecde5e97b8262785aae
Parent:     473e66fd24a230e03f6f164913bedb81c0ba052a
Author:     Heiko Carstens <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 12 00:52:20 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Feb 12 09:48:29 2007 -0800

    [PATCH] lockdep: forward declare struct task_struct
    3117df0453828bd045c16244e6f50e5714667a8a causes this:
    In file included from arch/s390/kernel/early.c:13:
    include/linux/lockdep.h:300: warning:
                "struct task_struct" declared inside parameter list
                warning: its scope is only this definition or
                declaration, which is probably not what you want
    Acked-by: Ingo Molnar <[EMAIL PROTECTED]>
    Cc: Martin Schwidefsky <[EMAIL PROTECTED]>
    Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/linux/lockdep.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
index 7e1160d..06fe93a 100644
--- a/include/linux/lockdep.h
+++ b/include/linux/lockdep.h
@@ -8,6 +8,8 @@
 #ifndef __LINUX_LOCKDEP_H
 #define __LINUX_LOCKDEP_H
+struct task_struct;
 #include <linux/linkage.h>
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

Reply via email to