diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-01-30 07:31:09 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:09 -0500 |
commit | 27ec161f93b8f018e0270a5383ea1d1c36f00c8a (patch) | |
tree | be8f7601ef5684226f9f21e2489cb136ccac55fe /include/asm-x86/pgtable_64.h | |
parent | 5fd1fe9c582e00ca0a98f852cd693dc3caf607a0 (diff) |
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) { | |||
355 | 355 | ||
356 | /* page, protection -> pte */ | 356 | /* page, protection -> pte */ |
357 | #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) | 357 | #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) |
358 | #define mk_pte_huge(entry) (pte_val(entry) |= _PAGE_PRESENT | _PAGE_PSE) | ||
359 | 358 | ||
360 | /* Change flags of a PTE */ | 359 | /* Change flags of a PTE */ |
361 | static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | 360 | static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |