projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
206c5f6
)
x86, espfix: Remove stale ptemask
author
Borislav Petkov
<bp@suse.de>
Mon, 14 Jul 2014 17:27:53 +0000
(19:27 +0200)
committer
Borislav Petkov
<bp@suse.de>
Tue, 11 Nov 2014 16:57:46 +0000
(17:57 +0100)
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>
arch/x86/kernel/espfix_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/espfix_64.c
b/arch/x86/kernel/espfix_64.c
index
94d857f
..
f5d0730
100644
(file)
--- 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)];