page-flags.h pollution?

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Fri Aug 30 2002 - 00:56:51 EST


In the 2.5.3x kernel, what's the point of defining pte_chain_lock()
and pte_chain_unlock() in page-flags.h? These two routines make it
impossible to include page-flags.h on it's own, because they require
"struct page" to be defined (and a forward declaration isn't
sufficient either). This can introduce rather annoying circular
include-file dependencies.

        --david
-
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 : Sat Aug 31 2002 - 22:00:29 EST