Re: Get USE_STRICT_MM_TYPECHECKS working again

David Gibson
2008-09-11T00:27:12Z

On Tue, Sep 09, 2008 at 02:09:56PM +0200, Christoph Hellwig wrote:
> On Tue, Sep 09, 2008 at 03:04:47PM +1000, David Gibson wrote:
> > The typesafe version of the powerpc pagetable handling (with
> > USE_STRICT_MM_TYPECHECKS defined) has bitrotted again. This patch
> > makes a bunch of small fixes to get it building again.
>
> It might be a better idea to mark these types __bitwise and use sparse
> to do the stricter checking..

Uh.. I don't think that would do quite the same thing. In particular
it wouldn't catch assignments between (say) pmd_t and pte_t.