x86/cpu: Remove redundant extern x86_read_arch_cap_msr()
authorAshok Raj <ashok.raj@intel.com>
Mon, 28 Nov 2022 17:24:51 +0000 (09:24 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Jan 2023 11:40:24 +0000 (12:40 +0100)
commitbb5525a50601f8be7d0ffb04740e1714506e60c4
tree2cb1c1fa0f80f9766fac03363d5190b7cbc25d78
parentb7bfaa761d760e72a969d116517eaa12e404c262
x86/cpu: Remove redundant extern x86_read_arch_cap_msr()

The prototype for the x86_read_arch_cap_msr() function has moved to
arch/x86/include/asm/cpu.h - kill the redundant definition in arch/x86/kernel/cpu.h
and include the header.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Link: https://lore.kernel.org/r/20221128172451.792595-1-ashok.raj@intel.com
arch/x86/kernel/cpu/bugs.c
arch/x86/kernel/cpu/cpu.h
arch/x86/kernel/cpu/tsx.c