summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/espfix_64.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2014-07-14 19:27:53 +0200
committerBorislav Petkov <bp@suse.de>2014-11-11 17:57:46 +0100
commit585e4777be253f1f05bd24de22a4df1860eff874 (patch)
treea001e30877ae46944e898d998943e78f4a456d3d /arch/x86/kernel/espfix_64.c
parent206c5f60a3d902bc4b56dab2de3e88de5eb06108 (diff)
x86, espfix: Remove stale ptemask
Previous versions of the espfix had a single function which did setup the pagetables. It was later split into BSP and AP version. Drop unused leftovers after that split. Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/kernel/espfix_64.c')
-rw-r--r--arch/x86/kernel/espfix_64.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/espfix_64.c b/arch/x86/kernel/espfix_64.c
index 94d857fb1033..f5d0730e7b08 100644
--- a/arch/x86/kernel/espfix_64.c
+++ b/arch/x86/kernel/espfix_64.c
@@ -122,9 +122,6 @@ static void init_espfix_random(void)
void __init init_espfix_bsp(void)
{
pgd_t *pgd_p;
- pteval_t ptemask;
-
- ptemask = __supported_pte_mask;
/* Install the espfix pud into the kernel page directory */
pgd_p = &init_level4_pgt[pgd_index(ESPFIX_BASE_ADDR)];