projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66d8ff
)
x86/bugs: Make cpu_show_common() static
author
Jiri Kosina
<jkosina@suse.cz>
Thu, 10 May 2018 20:47:32 +0000
(22:47 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 10 May 2018 20:58:11 +0000
(22:58 +0200)
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>
arch/x86/kernel/cpu/bugs.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/bugs.c
b/arch/x86/kernel/cpu/bugs.c
index 3287a42d4df4154de6a8929c39863a41fb5ab869..784753f0b41ef460e52c5abf9b1f6ccee77faa6e 100644
(file)
--- a/
arch/x86/kernel/cpu/bugs.c
+++ b/
arch/x86/kernel/cpu/bugs.c
@@
-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,
+s
tatic s
size_t cpu_show_common(struct device *dev, struct device_attribute *attr,
char *buf, unsigned int bug)
{
if (!boot_cpu_has_bug(bug))