projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: Replace __get_cpu_var with __this_cpu_read if not used for an address.
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
kernel
/
printk.c
diff --git
a/kernel/printk.c
b/kernel/printk.c
index 9a2264fc42cafac30d9264d569e4e673e9617f19..b032317f9964675c9d7c96b75a4b346f0e849ccc 100644
(file)
--- a/
kernel/printk.c
+++ b/
kernel/printk.c
@@
-1074,8
+1074,8
@@
static DEFINE_PER_CPU(int, printk_pending);
void printk_tick(void)
{
- if (__
get_cpu_var
(printk_pending)) {
- __
get_cpu_var(printk_pending) = 0
;
+ if (__
this_cpu_read
(printk_pending)) {
+ __
this_cpu_write(printk_pending, 0)
;
wake_up_interruptible(&log_wait);
}
}