irq: Don't allow IRQ affinities to be set from userspace
msm_irqbalance balances IRQs across CPUs, which collides with SBalance. Signed-off-by: Divyanshu-Modi <divyan.m05@gmail.com>
This commit is contained in:
parent
d174ab61d6
commit
6d78e5b6ae
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ static ssize_t write_irq_affinity(int type, struct file *file,
|
|||
cpumask_var_t new_value;
|
||||
int err;
|
||||
|
||||
return count;
|
||||
if (!irq_can_set_affinity_usr(irq) || no_irq_affinity)
|
||||
return -EIO;
|
||||
|
||||
|
|
Loading…
Reference in a new issue