Re: powerpc32: missing accessors to pgprot_t objects
From: Michael Ellerman
Date: Tue Dec 09 2014 - 05:18:48 EST
On Mon, 2014-08-12 at 14:16:29 UTC, LEROY Christophe wrote:
> Compilation with #define STRICT_MM_TYPECHECKS in arch/powerpc/include/asm/page.h
> fails due to missing use of pgprot_val() when using pgprot_t objects.
Hmm, looks like 64 bit doesn't build either.
Aneesh I think you added this, mind fixing it up?
In file included from ../arch/powerpc/include/asm/thread_info.h:34:0,
../arch/powerpc/mm/tlb_hash64.c: In function â??__flush_hash_table_rangeâ??:
../arch/powerpc/include/asm/page.h:286:24: error: request for member â??pteâ?? in something not a structure or union
#define pte_val(x) ((x).pte)
../arch/powerpc/mm/tlb_hash64.c:219:37: note: in expansion of macro â??pte_valâ??
make: *** [arch/powerpc/mm/tlb_hash64.o] Error 1
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/