diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-01-30 13:31:09 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:31:09 +0100 |
commit | 27ec161f93b8f018e0270a5383ea1d1c36f00c8a (patch) | |
tree | be8f7601ef5684226f9f21e2489cb136ccac55fe /include/asm-x86/pgtable_64.h | |
parent | 5fd1fe9c582e00ca0a98f852cd693dc3caf607a0 (diff) | |
download | blackbird-op-linux-27ec161f93b8f018e0270a5383ea1d1c36f00c8a.tar.gz blackbird-op-linux-27ec161f93b8f018e0270a5383ea1d1c36f00c8a.zip |
x86: kill mk_pte_huge
It only has a single use, which can be trivially replaced.
Signed-off-by: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/pgtable_64.h')
-rw-r--r-- | include/asm-x86/pgtable_64.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h index 3072619365a8..5c252d9fee1b 100644 --- a/include/asm-x86/pgtable_64.h +++ b/include/asm-x86/pgtable_64.h @@ -355,7 +355,6 @@ static inline int pmd_large(pmd_t pte) { /* page, protection -> pte */ #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) -#define mk_pte_huge(entry) (pte_val(entry) |= _PAGE_PRESENT | _PAGE_PSE) /* Change flags of a PTE */ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |