Commit 0a62bb2e authored by Jiri Kosina's avatar Jiri Kosina Committed by Juerg Haefliger

UBUNTU: SAUCE: x86/bugs: Make cpu_show_common() static

CVE-2018-3639 (x86)

cpu_show_common() is not used outside of arch/x86/kernel/cpu/bugs.c, so
make it static.
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
[juergh: Context adjustments.]
Signed-off-by: default avatarJuerg Haefliger <juergh@canonical.com>
parent 5e8b3fee
......@@ -673,7 +673,7 @@ void x86_spec_ctrl_setup_ap(void)
#define osb_is_enabled (1)
#endif
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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment