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:
3e8db22
)
x86/apb/timer: Use proper mask to modify hotplug action
author
Thomas Gleixner
<tglx@linutronix.de>
Sat, 19 Mar 2016 10:41:42 +0000
(11:41 +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/apb_timer.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apb_timer.c
b/arch/x86/kernel/apb_timer.c
index 222a57076039f25686087274ef6a42d7db9f91fc..cefacbad153118620348bb1e3bc88838f75dcde7 100644
(file)
--- a/
arch/x86/kernel/apb_timer.c
+++ b/
arch/x86/kernel/apb_timer.c
@@
-221,7
+221,7
@@
static int apbt_cpuhp_notify(struct notifier_block *n,
unsigned long cpu = (unsigned long)hcpu;
struct apbt_dev *adev = &per_cpu(cpu_apbt_dev, cpu);
- switch (action &
0xf
) {
+ switch (action &
~CPU_TASKS_FROZEN
) {
case CPU_DEAD:
dw_apb_clockevent_pause(adev->timer);
if (system_state == SYSTEM_RUNNING) {