Re: [PATCH] 2.4: export the symbol "mmu_cr4_features" for XFree86 DRM kernel drivers

From: Calum Mackay (calum.mackay@sun.com)
Date: Sat Aug 02 2003 - 07:34:48 EST


Calum Mackay wrote:
> The radeon kernel driver source includes (via drm_memory.h)
> linux/vmalloc.h, iff VMAP_4_ARGS is defined. The latter includes (on
> i386) asm/asm-i386/pgtable.h, which includes asm/asm-i386/processor.h.
>
> processor.h defines some inline functions [set_in_cr4() &
> clear_in_cr4()] which reference mmu_cr4_features.

Sadly, this isn't the full story, since the radeon code doesn't
reference *_in_cr4.

The radeon code calls io/agp remap functions - again only ifdef
VMAP_4_ARGS - which do however call __flush_tlb_all(). This manipulates
the PGE bit via mmu_cr4_features.

apols for the spam...

cheers,
Calum.



-
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 Aug 07 2003 - 22:00:18 EST