projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f47ab81
)
x86/hpet: Use proper mask to modify hotplug action
author
Thomas Gleixner
<tglx@linutronix.de>
Sat, 19 Mar 2016 11:17:24 +0000
(12:17 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 19 Mar 2016 12:40:08 +0000
(13:40 +0100)
Magic hex constants are a guarantee for wreckage when the defines change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/hpet.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/hpet.c
b/arch/x86/kernel/hpet.c
index be0ebbb6d1d144fc86bcab6716871ea8cdaa4744..a1f0e4a5c47e3239824ac9c61774127e378d4f03 100644
(file)
--- a/
arch/x86/kernel/hpet.c
+++ b/
arch/x86/kernel/hpet.c
@@
-717,7
+717,7
@@
static int hpet_cpuhp_notify(struct notifier_block *n,
struct hpet_work_struct work;
struct hpet_dev *hdev = per_cpu(cpu_hpet_dev, cpu);
- switch (action &
0xf
) {
+ switch (action &
~CPU_TASKS_FROZEN
) {
case CPU_ONLINE:
INIT_DELAYED_WORK_ONSTACK(&work.work, hpet_work);
init_completion(&work.complete);