summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/kernel/cevt-mn10300.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-18 17:52:53 +0100
committerDavid Howells <dhowells@redhat.com>2011-03-18 17:52:53 +0100
commitdf43b86b411dcc1e6ddbd9b7a44357c28d523bad (patch)
treeb89cf0273cb61a4ff66747854696b44fc54956fe /arch/mn10300/kernel/cevt-mn10300.c
parentMN10300: Select HAVE_GENERIC_HARDIRQS rather than GENERIC_HARDIRQS (diff)
downloadlinux-df43b86b411dcc1e6ddbd9b7a44357c28d523bad.tar.xz
linux-df43b86b411dcc1e6ddbd9b7a44357c28d523bad.zip
MN10300: Select GENERIC_HARDIRQS_NO_DEPRECATED
All chips converted. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/kernel/cevt-mn10300.c')
-rw-r--r--arch/mn10300/kernel/cevt-mn10300.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mn10300/kernel/cevt-mn10300.c b/arch/mn10300/kernel/cevt-mn10300.c
index 9eb387adea7c..69cae0260786 100644
--- a/arch/mn10300/kernel/cevt-mn10300.c
+++ b/arch/mn10300/kernel/cevt-mn10300.c
@@ -111,9 +111,9 @@ int __init init_clockevents(void)
#if defined(CONFIG_SMP) && !defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)
/* setup timer irq affinity so it only runs on this cpu */
{
- struct irq_desc *desc;
- desc = irq_to_desc(cd->irq);
- cpumask_copy(desc->affinity, cpumask_of(cpu));
+ struct irq_data *data;
+ data = irq_get_irq_data(cd->irq);
+ cpumask_copy(data->affinity, cpumask_of(cpu));
iact->flags |= IRQF_NOBALANCING;
}
#endif