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:
5ec6960
)
x86, apbt: Setup affinity for apb timers acting as per-cpu timer
author
Feng Tang
<
[email protected]
>
Fri, 3 Dec 2010 03:51:38 +0000
(11:51 +0800)
committer
Thomas Gleixner
<
[email protected]
>
Mon, 6 Dec 2010 14:58:26 +0000
(15:58 +0100)
Commit
a5ef2e70
"x86: Sanitize apb timer interrupt handling" forgot
the affinity setup when cleaning up the code, this patch just
adds the forgotten part
Signed-off-by: Feng Tang <
[email protected]
>
Cc: Jacob Pan <
[email protected]
>
Cc: Alan Cox <
[email protected]
>
LKML-Reference: <
1291348298
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
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 92543c73cf8ed8d085dc581fe8171b3bbb6f939e..7c9ab59653e8bc5e229ba9e96734d20d4db50db5 100644
(file)
--- a/
arch/x86/kernel/apb_timer.c
+++ b/
arch/x86/kernel/apb_timer.c
@@
-315,6
+315,7
@@
static void apbt_setup_irq(struct apbt_dev *adev)
if (system_state == SYSTEM_BOOTING) {
irq_modify_status(adev->irq, 0, IRQ_MOVE_PCNTXT);
+ irq_set_affinity(adev->irq, cpumask_of(adev->cpu));
/* APB timer irqs are set up as mp_irqs, timer is edge type */
__set_irq_handler(adev->irq, handle_edge_irq, 0, "edge");
if (request_irq(adev->irq, apbt_interrupt_handler,