mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
page table handling cleanup
Kill pte_rdprotect(), pte_exprotect(), pte_mkread(), pte_mkexec(), pte_read(), pte_exec(), and pte_user() except where arch-specific code is making use of them. Signed-off-by: Jan Beulich <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
98011f569e
commit
45e98cdb6d
28 changed files with 1 additions and 311 deletions
|
|
@ -151,7 +151,6 @@ BTFIXUPDEF_CALL_CONST(unsigned long, pgd_page_vaddr, pgd_t)
|
|||
BTFIXUPDEF_SETHI(none_mask)
|
||||
BTFIXUPDEF_CALL_CONST(int, pte_present, pte_t)
|
||||
BTFIXUPDEF_CALL(void, pte_clear, pte_t *)
|
||||
BTFIXUPDEF_CALL(int, pte_read, pte_t)
|
||||
|
||||
static inline int pte_none(pte_t pte)
|
||||
{
|
||||
|
|
@ -160,7 +159,6 @@ static inline int pte_none(pte_t pte)
|
|||
|
||||
#define pte_present(pte) BTFIXUP_CALL(pte_present)(pte)
|
||||
#define pte_clear(mm,addr,pte) BTFIXUP_CALL(pte_clear)(pte)
|
||||
#define pte_read(pte) BTFIXUP_CALL(pte_read)(pte)
|
||||
|
||||
BTFIXUPDEF_CALL_CONST(int, pmd_bad, pmd_t)
|
||||
BTFIXUPDEF_CALL_CONST(int, pmd_present, pmd_t)
|
||||
|
|
|
|||
Loading…
Reference in a new issue