]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/mm/tlb_64.c
[POWERPC] Fix a compiler warning in mm/tlb_64.c
[karo-tx-linux.git] / arch / powerpc / mm / tlb_64.c
index e7449b068c8259cb2105522bf5f56fa0cd0da103..b58baa65c4a74f11978baf41bee0e04c428d19f6 100644 (file)
@@ -22,7 +22,6 @@
  *  2 of the License, or (at your option) any later version.
  */
 
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/init.h>
@@ -147,6 +146,7 @@ void hpte_update(struct mm_struct *mm, unsigned long addr,
                psize = mmu_huge_psize;
 #else
                BUG();
+               psize = pte_pagesize_index(pte); /* shutup gcc */
 #endif
        } else
                psize = pte_pagesize_index(pte);