Re: [PATCH] moving task_struct

From: Daniel Phillips (phillips@bonn-fries.net)
Date: Mon Mar 04 2002 - 06:16:13 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:32 EST