Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/vdso: Remove hpet_page from vDSO

This trivial cleanup finalizes the removal of vDSO HPET support.

Fixes: 1ed95e52d902 ("x86/vdso: Remove direct HPET access through the vDSO")
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: luto@kernel.org
Cc: bp@alien8.de
Link: https://lkml.kernel.org/r/20190401114045.7280-1-zhang.jia@linux.alibaba.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Jia Zhang and committed by
Ingo Molnar
81d30225 ffa6f55e

-4
-3
arch/x86/entry/vdso/vdso2c.c
··· 73 73 enum { 74 74 sym_vvar_start, 75 75 sym_vvar_page, 76 - sym_hpet_page, 77 76 sym_pvclock_page, 78 77 sym_hvclock_page, 79 78 }; 80 79 81 80 const int special_pages[] = { 82 81 sym_vvar_page, 83 - sym_hpet_page, 84 82 sym_pvclock_page, 85 83 sym_hvclock_page, 86 84 }; ··· 91 93 struct vdso_sym required_syms[] = { 92 94 [sym_vvar_start] = {"vvar_start", true}, 93 95 [sym_vvar_page] = {"vvar_page", true}, 94 - [sym_hpet_page] = {"hpet_page", true}, 95 96 [sym_pvclock_page] = {"pvclock_page", true}, 96 97 [sym_hvclock_page] = {"hvclock_page", true}, 97 98 {"VDSO32_NOTE_MASK", true},
-1
arch/x86/include/asm/vdso.h
··· 19 19 long sym_vvar_start; /* Negative offset to the vvar area */ 20 20 21 21 long sym_vvar_page; 22 - long sym_hpet_page; 23 22 long sym_pvclock_page; 24 23 long sym_hvclock_page; 25 24 long sym_VDSO32_NOTE_MASK;