diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2013-09-07 02:46:49 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-11-06 15:31:01 -0500 |
commit | 9d71cee66725a0a1333f02f315c06cc42f07650e (patch) | |
tree | 12bb889fbb5327d51ef4c857f32ad50f41fcb3f4 | |
parent | ce5be5a16359962f78f0203f0ed7ad6d489492ab (diff) |
x86/xen: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from x86/xen
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r-- | arch/x86/xen/smp.c | 10 | ||||
-rw-r--r-- | arch/x86/xen/spinlock.c | 2 | ||||
-rw-r--r-- | arch/x86/xen/time.c | 3 |
3 files changed, 7 insertions, 8 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index d1e4777b4e75..48b57182dbb6 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c | |||
@@ -149,7 +149,7 @@ static int xen_smp_intr_init(unsigned int cpu) | |||
149 | rc = bind_ipi_to_irqhandler(XEN_RESCHEDULE_VECTOR, | 149 | rc = bind_ipi_to_irqhandler(XEN_RESCHEDULE_VECTOR, |
150 | cpu, | 150 | cpu, |
151 | xen_reschedule_interrupt, | 151 | xen_reschedule_interrupt, |
152 | IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING, | 152 | IRQF_PERCPU|IRQF_NOBALANCING, |
153 | resched_name, | 153 | resched_name, |
154 | NULL); | 154 | NULL); |
155 | if (rc < 0) | 155 | if (rc < 0) |
@@ -161,7 +161,7 @@ static int xen_smp_intr_init(unsigned int cpu) | |||
161 | rc = bind_ipi_to_irqhandler(XEN_CALL_FUNCTION_VECTOR, | 161 | rc = bind_ipi_to_irqhandler(XEN_CALL_FUNCTION_VECTOR, |
162 | cpu, | 162 | cpu, |
163 | xen_call_function_interrupt, | 163 | xen_call_function_interrupt, |
164 | IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING, | 164 | IRQF_PERCPU|IRQF_NOBALANCING, |
165 | callfunc_name, | 165 | callfunc_name, |
166 | NULL); | 166 | NULL); |
167 | if (rc < 0) | 167 | if (rc < 0) |
@@ -171,7 +171,7 @@ static int xen_smp_intr_init(unsigned int cpu) | |||
171 | 171 | ||
172 | debug_name = kasprintf(GFP_KERNEL, "debug%d", cpu); | 172 | debug_name = kasprintf(GFP_KERNEL, "debug%d", cpu); |
173 | rc = bind_virq_to_irqhandler(VIRQ_DEBUG, cpu, xen_debug_interrupt, | 173 | rc = bind_virq_to_irqhandler(VIRQ_DEBUG, cpu, xen_debug_interrupt, |
174 | IRQF_DISABLED | IRQF_PERCPU | IRQF_NOBALANCING, | 174 | IRQF_PERCPU | IRQF_NOBALANCING, |
175 | debug_name, NULL); | 175 | debug_name, NULL); |
176 | if (rc < 0) | 176 | if (rc < 0) |
177 | goto fail; | 177 | goto fail; |
@@ -182,7 +182,7 @@ static int xen_smp_intr_init(unsigned int cpu) | |||
182 | rc = bind_ipi_to_irqhandler(XEN_CALL_FUNCTION_SINGLE_VECTOR, | 182 | rc = bind_ipi_to_irqhandler(XEN_CALL_FUNCTION_SINGLE_VECTOR, |
183 | cpu, | 183 | cpu, |
184 | xen_call_function_single_interrupt, | 184 | xen_call_function_single_interrupt, |
185 | IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING, | 185 | IRQF_PERCPU|IRQF_NOBALANCING, |
186 | callfunc_name, | 186 | callfunc_name, |
187 | NULL); | 187 | NULL); |
188 | if (rc < 0) | 188 | if (rc < 0) |
@@ -201,7 +201,7 @@ static int xen_smp_intr_init(unsigned int cpu) | |||
201 | rc = bind_ipi_to_irqhandler(XEN_IRQ_WORK_VECTOR, | 201 | rc = bind_ipi_to_irqhandler(XEN_IRQ_WORK_VECTOR, |
202 | cpu, | 202 | cpu, |
203 | xen_irq_work_interrupt, | 203 | xen_irq_work_interrupt, |
204 | IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING, | 204 | IRQF_PERCPU|IRQF_NOBALANCING, |
205 | callfunc_name, | 205 | callfunc_name, |
206 | NULL); | 206 | NULL); |
207 | if (rc < 0) | 207 | if (rc < 0) |
diff --git a/arch/x86/xen/spinlock.c b/arch/x86/xen/spinlock.c index be6b86078957..0e36cde12f7e 100644 --- a/arch/x86/xen/spinlock.c +++ b/arch/x86/xen/spinlock.c | |||
@@ -234,7 +234,7 @@ void xen_init_lock_cpu(int cpu) | |||
234 | irq = bind_ipi_to_irqhandler(XEN_SPIN_UNLOCK_VECTOR, | 234 | irq = bind_ipi_to_irqhandler(XEN_SPIN_UNLOCK_VECTOR, |
235 | cpu, | 235 | cpu, |
236 | dummy_handler, | 236 | dummy_handler, |
237 | IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING, | 237 | IRQF_PERCPU|IRQF_NOBALANCING, |
238 | name, | 238 | name, |
239 | NULL); | 239 | NULL); |
240 | 240 | ||
diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index ee365895b06b..12a1ca707b94 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c | |||
@@ -443,8 +443,7 @@ void xen_setup_timer(int cpu) | |||
443 | name = "<timer kasprintf failed>"; | 443 | name = "<timer kasprintf failed>"; |
444 | 444 | ||
445 | irq = bind_virq_to_irqhandler(VIRQ_TIMER, cpu, xen_timer_interrupt, | 445 | irq = bind_virq_to_irqhandler(VIRQ_TIMER, cpu, xen_timer_interrupt, |
446 | IRQF_DISABLED|IRQF_PERCPU| | 446 | IRQF_PERCPU|IRQF_NOBALANCING|IRQF_TIMER| |
447 | IRQF_NOBALANCING|IRQF_TIMER| | ||
448 | IRQF_FORCE_RESUME, | 447 | IRQF_FORCE_RESUME, |
449 | name, NULL); | 448 | name, NULL); |
450 | 449 | ||