Re: [PATCH] moving task_struct
Daniel Phillips (phillips@bonn-fries.net)
Mon, 4 Mar 2002 12:16:13 +0100
On March 1, 2002 09:55 pm, Jeff Garzik wrote:
> > The patch below simply moves task_struct into its own header file.
> > This makes thread_info and task_struct indepedent from sched.h and will
> > allows archs to decide themselves the dependencies between these
> > structures.
>
> nice... In addition to your second patch, this first patch may be a
> small step in paving the way for further unraveling of nasty include
> dependencies.
Apropo of that, struct page needs to be defined before mmzone.h is
included, so that inlines in mmzone.h can do arithmetic involving
sizeof(struct page), instead of using macros.
--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/