[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070320185100.E456818004F@magilla.sf.frob.com>
Date: Tue, 20 Mar 2007 11:51:00 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Randy Dunlap <randy.dunlap@...cle.com>,
linux-kernel@...r.kernel.org
Subject: Re: 2.6.21-rc3-mm2
Previously <linux/ptrace.h> had #include <linux/sched.h>, and mine just had
"struct task_struct;" instead for its forward references. asm-x86_64/elf.h
uses current->field in the ELF_CORE_COPY_REGS macro, expanded in
linux/elfcore.h in elf_core_copy_regs. So it needs sched.h but is no
longer getting it implicitly. Since current appears in asm-x86_64/elf.h,
there is some logic to having #include <linux/sched.h> explicit there
instead of somewhere else. But to reduce undue perturbation, I'll just
change my patch to preserve the #include in linux/ptrace.h instead.
Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists