sparc32: fix build with STRICT_MM_TYPECHECKS
[deliverable/linux.git] / arch / sparc / include / asm / pgalloc_32.h
index a3890da9442892e886f55f42ff9d223f75583262..21f6482b5ad5338cd3c27d4b695d0776dd7b7c2a 100644 (file)
@@ -31,7 +31,7 @@ static inline void pgd_set(pgd_t * pgdp, pmd_t * pmdp)
 {
        unsigned long pa = __nocache_pa((unsigned long)pmdp);
 
-       set_pte((pte_t *)pgdp, (SRMMU_ET_PTD | (pa >> 4)));
+       set_pte((pte_t *)pgdp, __pte((SRMMU_ET_PTD | (pa >> 4))));
 }
 
 #define pgd_populate(MM, PGD, PMD)      pgd_set(PGD, PMD)
This page took 0.043732 seconds and 5 git commands to generate.