mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
17eb9d6282
commit
e591a51723
|
@ -43,11 +43,6 @@ static __inline__ void set_pte(pte_t *pteptr, pte_t pteval)
|
|||
}
|
||||
#define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
|
||||
|
||||
static __inline__ void pmd_set(pmd_t *pmdp,pte_t *ptep)
|
||||
{
|
||||
pmd_val(*pmdp) = (unsigned long) ptep;
|
||||
}
|
||||
|
||||
/*
|
||||
* PGD defines. Top level.
|
||||
*/
|
||||
|
@ -202,12 +197,6 @@ static __inline__ void pmd_set(pmd_t *pmdp,pte_t *ptep)
|
|||
#define pgprot_noncached(x) __pgprot(((x).pgprot & ~(_PAGE_CACHABLE)) | _PAGE_DEVICE)
|
||||
#define pgprot_writecombine(prot) __pgprot(pgprot_val(prot) & ~_PAGE_CACHABLE)
|
||||
|
||||
/*
|
||||
* Handling allocation failures during page table setup.
|
||||
*/
|
||||
extern void __handle_bad_pmd_kernel(pmd_t * pmd);
|
||||
#define __handle_bad_pmd(x) __handle_bad_pmd_kernel(x)
|
||||
|
||||
/*
|
||||
* PTE level access routines.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue