powerpc/mm/hash/4k: Free hugetlb page table caches correctly.
[linux-2.6-block.git] / arch / powerpc / include / asm / nohash / 32 / pgalloc.h
index 1707781d2f208096517859d94f30c6533e0a3771..9de40eb614daa4f07b8613f26b7bfcfc6787b8c6 100644 (file)
@@ -109,6 +109,7 @@ static inline void pgtable_free(void *table, unsigned index_size)
 }
 
 #define check_pgt_cache()      do { } while (0)
+#define get_hugepd_cache_index(x)      (x)
 
 #ifdef CONFIG_SMP
 static inline void pgtable_free_tlb(struct mmu_gather *tlb,