diff options
Diffstat (limited to 'kernel/irq/proc.c')
-rw-r--r-- | kernel/irq/proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c index afacd6f585fa..90fe05f23e69 100644 --- a/kernel/irq/proc.c +++ b/kernel/irq/proc.c | |||
@@ -37,7 +37,7 @@ void proc_set_irq_affinity(unsigned int irq, cpumask_t mask_val) | |||
37 | { | 37 | { |
38 | set_balance_irq_affinity(irq, mask_val); | 38 | set_balance_irq_affinity(irq, mask_val); |
39 | irq_affinity[irq] = mask_val; | 39 | irq_affinity[irq] = mask_val; |
40 | irq_desc[irq].handler->set_affinity(irq, mask_val); | 40 | irq_desc[irq].chip->set_affinity(irq, mask_val); |
41 | } | 41 | } |
42 | #endif | 42 | #endif |
43 | 43 | ||
@@ -59,7 +59,7 @@ static int irq_affinity_write_proc(struct file *file, const char __user *buffer, | |||
59 | unsigned int irq = (int)(long)data, full_count = count, err; | 59 | unsigned int irq = (int)(long)data, full_count = count, err; |
60 | cpumask_t new_value, tmp; | 60 | cpumask_t new_value, tmp; |
61 | 61 | ||
62 | if (!irq_desc[irq].handler->set_affinity || no_irq_affinity) | 62 | if (!irq_desc[irq].chip->set_affinity || no_irq_affinity) |
63 | return -EIO; | 63 | return -EIO; |
64 | 64 | ||
65 | err = cpumask_parse(buffer, count, new_value); | 65 | err = cpumask_parse(buffer, count, new_value); |
@@ -122,7 +122,7 @@ void register_irq_proc(unsigned int irq) | |||
122 | char name [MAX_NAMELEN]; | 122 | char name [MAX_NAMELEN]; |
123 | 123 | ||
124 | if (!root_irq_dir || | 124 | if (!root_irq_dir || |
125 | (irq_desc[irq].handler == &no_irq_type) || | 125 | (irq_desc[irq].chip == &no_irq_type) || |
126 | irq_dir[irq]) | 126 | irq_dir[irq]) |
127 | return; | 127 | return; |
128 | 128 | ||