aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/pgtable-ppc32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/pgtable-ppc32.h b/include/asm-powerpc/pgtable-ppc32.h
index 11eede4a2906..73015f0139de 100644
--- a/include/asm-powerpc/pgtable-ppc32.h
+++ b/include/asm-powerpc/pgtable-ppc32.h
@@ -624,7 +624,7 @@ static inline unsigned long long pte_update(pte_t *p,
624 : "cc" ); 624 : "cc" );
625#else /* PTE_ATOMIC_UPDATES */ 625#else /* PTE_ATOMIC_UPDATES */
626 unsigned long long old = pte_val(*p); 626 unsigned long long old = pte_val(*p);
627 *p = __pte((old & ~clr) | set); 627 *p = __pte((old & ~(unsigned long long)clr) | set);
628#endif /* !PTE_ATOMIC_UPDATES */ 628#endif /* !PTE_ATOMIC_UPDATES */
629 629
630#ifdef CONFIG_44x 630#ifdef CONFIG_44x