LKML Archive on
help / color / mirror / Atom feed
From: Heiko Carstens <>
To: Andrew Morton <>, Ingo Molnar <>,
	Martin Schwidefsky <>
Subject: [patch] lockdep: forward declare struct trask_struct
Date: Wed, 7 Feb 2007 12:23:01 +0100	[thread overview]
Message-ID: <> (raw)

From: Heiko Carstens <>

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

Cc: Ingo Molnar <>
Cc: Martin Schwidefsky <>
Signed-off-by: Heiko Carstens <>
 include/linux/lockdep.h |    2 ++
 1 files changed, 2 insertions(+)

Index: linux-2.6/include/linux/lockdep.h
--- linux-2.6.orig/include/linux/lockdep.h
+++ linux-2.6/include/linux/lockdep.h
@@ -286,6 +286,8 @@ static inline void early_init_irq_lock_c
+struct task_struct;
 extern void early_boot_irqs_off(void);
 extern void early_boot_irqs_on(void);

             reply	other threads:[~2007-02-07 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 11:23 Heiko Carstens [this message]
2007-02-07 22:48 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [patch] lockdep: forward declare struct trask_struct' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).