mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-10 02:29:01 +00:00
x86/bugs: Make cpu_show_common() static
commit 7bb4d366cb
upstream
cpu_show_common() is not used outside of arch/x86/kernel/cpu/bugs.c, so
make it static.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4fbc01632e
commit
f69c4dd367
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ void x86_spec_ctrl_setup_ap(void)
|
|||
|
||||
#ifdef CONFIG_SYSFS
|
||||
|
||||
ssize_t cpu_show_common(struct device *dev, struct device_attribute *attr,
|
||||
static ssize_t cpu_show_common(struct device *dev, struct device_attribute *attr,
|
||||
char *buf, unsigned int bug)
|
||||
{
|
||||
if (!boot_cpu_has_bug(bug))
|
||||
|
|
Loading…
Reference in a new issue