aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/pgtable_64.h
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-12-13 17:18:09 -0500
committerMatt Fleming <matt@console-pimps.org>2009-12-31 08:44:54 -0500
commite591a517230a97e93f5edd19e7bef7ec8d22ac2b (patch)
treef0d297548668aad5671f56846e0d2272fec41148 /arch/sh/include/asm/pgtable_64.h
parent17eb9d62828c3688f41f31ac00d7fee6da9675bf (diff)
sh: Remove unused functions
Apply some TLC to the SH64 header files and remove some functions that are not used anymore. Signed-off-by: Matt Fleming <matt@console-pimps.org>
Diffstat (limited to 'arch/sh/include/asm/pgtable_64.h')
-rw-r--r--arch/sh/include/asm/pgtable_64.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sh/include/asm/pgtable_64.h b/arch/sh/include/asm/pgtable_64.h
index 17cdbecc3adc..dd381588c695 100644
--- a/arch/sh/include/asm/pgtable_64.h
+++ b/arch/sh/include/asm/pgtable_64.h
@@ -43,11 +43,6 @@ static __inline__ void set_pte(pte_t *pteptr, pte_t pteval)
43} 43}
44#define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval) 44#define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
45 45
46static __inline__ void pmd_set(pmd_t *pmdp,pte_t *ptep)
47{
48 pmd_val(*pmdp) = (unsigned long) ptep;
49}
50
51/* 46/*
52 * PGD defines. Top level. 47 * PGD defines. Top level.
53 */ 48 */
@@ -203,12 +198,6 @@ static __inline__ void pmd_set(pmd_t *pmdp,pte_t *ptep)
203#define pgprot_writecombine(prot) __pgprot(pgprot_val(prot) & ~_PAGE_CACHABLE) 198#define pgprot_writecombine(prot) __pgprot(pgprot_val(prot) & ~_PAGE_CACHABLE)
204 199
205/* 200/*
206 * Handling allocation failures during page table setup.
207 */
208extern void __handle_bad_pmd_kernel(pmd_t * pmd);
209#define __handle_bad_pmd(x) __handle_bad_pmd_kernel(x)
210
211/*
212 * PTE level access routines. 201 * PTE level access routines.
213 * 202 *
214 * Note1: 203 * Note1: