Re: [patch] avoid reference to struct page before it's declared

From: Daniel Phillips (phillips@arcor.de)
Date: Mon Sep 30 2002 - 09:44:51 EST


On Saturday 28 September 2002 22:56, David Mosberger wrote:
> GCC currently warns when page-flags.h gets included before struct page
> is declared. Patch below fixes this.

A better way is to compile struct page and related structure definitions
right at the beginning of mm.h, before declaring any helper functions. I
posted a patch to do this, earlier in 2.4, and should bring it forward.

-- 
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 : Mon Sep 30 2002 - 22:00:46 EST