mm: Remove duplicate definitions in MIPS and SH

Those definitions are already provided by asm-generic

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Benjamin Herrenschmidt and committed by Linus Torvalds 4733fd32 c56d3000

-19
-11
arch/mips/include/asm/pgalloc.h
··· 104 104 tlb_remove_page((tlb), pte); \ 105 105 } while (0) 106 106 107 - #ifdef CONFIG_32BIT 108 - 109 - /* 110 - * allocating and freeing a pmd is trivial: the 1-entry pmd is 111 - * inside the pgd, so has no extra memory associated with it. 112 - */ 113 - #define pmd_free(mm, x) do { } while (0) 114 - #define __pmd_free_tlb(tlb, x, addr) do { } while (0) 115 - 116 - #endif 117 - 118 107 #ifdef CONFIG_64BIT 119 108 120 109 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address)
-8
arch/sh/include/asm/pgalloc.h
··· 79 79 tlb_remove_page((tlb), (pte)); \ 80 80 } while (0) 81 81 82 - /* 83 - * allocating and freeing a pmd is trivial: the 1-entry pmd is 84 - * inside the pgd, so has no extra memory associated with it. 85 - */ 86 - 87 - #define pmd_free(mm, x) do { } while (0) 88 - #define __pmd_free_tlb(tlb,x,addr) do { } while (0) 89 - 90 82 static inline void check_pgt_cache(void) 91 83 { 92 84 quicklist_trim(QUICK_PGD, NULL, 25, 16);