提交 585e4777 编写于 作者: B Borislav Petkov

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: NBorislav Petkov <bp@suse.de>
上级 206c5f60
...@@ -122,9 +122,6 @@ static void init_espfix_random(void) ...@@ -122,9 +122,6 @@ static void init_espfix_random(void)
void __init init_espfix_bsp(void) void __init init_espfix_bsp(void)
{ {
pgd_t *pgd_p; pgd_t *pgd_p;
pteval_t ptemask;
ptemask = __supported_pte_mask;
/* Install the espfix pud into the kernel page directory */ /* Install the espfix pud into the kernel page directory */
pgd_p = &init_level4_pgt[pgd_index(ESPFIX_BASE_ADDR)]; pgd_p = &init_level4_pgt[pgd_index(ESPFIX_BASE_ADDR)];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册