projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b8249e
)
genirq: Remove redundant thread affinity setting
author
Thomas Gleixner
<tglx@linutronix.de>
Mon, 14 Feb 2011 10:25:02 +0000
(11:25 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:08 +0000
(12:58 +0100)
Thread affinity is already set by setup_affinity().
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/manage.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/irq/manage.c
b/kernel/irq/manage.c
index dc95d53df510c0fc3dcd3d33f8a65b8aeac71b11..33a6ee0ac68f02bd5599d1955d7911ff7ace241d 100644
(file)
--- a/
kernel/irq/manage.c
+++ b/
kernel/irq/manage.c
@@
-309,8
+309,6
@@
int irq_select_affinity_usr(unsigned int irq, struct cpumask *mask)
raw_spin_lock_irqsave(&desc->lock, flags);
ret = setup_affinity(irq, desc, mask);
- if (!ret)
- irq_set_thread_affinity(desc);
raw_spin_unlock_irqrestore(&desc->lock, flags);
return ret;
}