diff options
author | Jiri Kosina <jkosina@suse.cz> | 2018-05-10 22:47:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-22 16:58:02 +0200 |
commit | dbb264a253c8b07259d55fb3373b783fcb641b04 (patch) | |
tree | ac2edd0a7f43188c5aff3bae21a8156302ff95bc | |
parent | eb7b5624be3e6249a880310be486245db15a5f5c (diff) | |
download | linux-stable-dbb264a253c8b07259d55fb3373b783fcb641b04.tar.gz linux-stable-dbb264a253c8b07259d55fb3373b783fcb641b04.tar.bz2 linux-stable-dbb264a253c8b07259d55fb3373b783fcb641b04.zip |
x86/bugs: Make cpu_show_common() static
commit 7bb4d366cba992904bffa4820d24e70a3de93e76 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: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/x86/kernel/cpu/bugs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c index c7b4d117f652..8187642236b6 100644 --- a/arch/x86/kernel/cpu/bugs.c +++ b/arch/x86/kernel/cpu/bugs.c @@ -639,7 +639,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)) |