diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-18 12:52:53 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-03-18 12:52:53 -0400 |
commit | df43b86b411dcc1e6ddbd9b7a44357c28d523bad (patch) | |
tree | b89cf0273cb61a4ff66747854696b44fc54956fe /arch/mn10300 | |
parent | 4692edbd4c5ab58c4e17f8cba136d93104254a15 (diff) |
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')
-rw-r--r-- | arch/mn10300/Kconfig | 1 | ||||
-rw-r--r-- | arch/mn10300/kernel/cevt-mn10300.c | 6 | ||||
-rw-r--r-- | arch/mn10300/kernel/irq.c | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index e207701c2590..10971be43061 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig | |||
@@ -2,6 +2,7 @@ config MN10300 | |||
2 | def_bool y | 2 | def_bool y |
3 | select HAVE_OPROFILE | 3 | select HAVE_OPROFILE |
4 | select HAVE_GENERIC_HARDIRQS | 4 | select HAVE_GENERIC_HARDIRQS |
5 | select GENERIC_HARDIRQS_NO_DEPRECATED | ||
5 | 6 | ||
6 | config AM33_2 | 7 | config AM33_2 |
7 | def_bool n | 8 | def_bool n |
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) | |||
111 | #if defined(CONFIG_SMP) && !defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) | 111 | #if defined(CONFIG_SMP) && !defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) |
112 | /* setup timer irq affinity so it only runs on this cpu */ | 112 | /* setup timer irq affinity so it only runs on this cpu */ |
113 | { | 113 | { |
114 | struct irq_desc *desc; | 114 | struct irq_data *data; |
115 | desc = irq_to_desc(cd->irq); | 115 | data = irq_get_irq_data(cd->irq); |
116 | cpumask_copy(desc->affinity, cpumask_of(cpu)); | 116 | cpumask_copy(data->affinity, cpumask_of(cpu)); |
117 | iact->flags |= IRQF_NOBALANCING; | 117 | iact->flags |= IRQF_NOBALANCING; |
118 | } | 118 | } |
119 | #endif | 119 | #endif |
diff --git a/arch/mn10300/kernel/irq.c b/arch/mn10300/kernel/irq.c index cd36a6c62770..f09fed5e6afc 100644 --- a/arch/mn10300/kernel/irq.c +++ b/arch/mn10300/kernel/irq.c | |||
@@ -363,12 +363,12 @@ int show_interrupts(struct seq_file *p, void *v) | |||
363 | 363 | ||
364 | if (i < NR_CPU_IRQS) | 364 | if (i < NR_CPU_IRQS) |
365 | seq_printf(p, " %14s.%u", | 365 | seq_printf(p, " %14s.%u", |
366 | irq_desc[i].chip->name, | 366 | irq_desc[i].irq_data.chip->name, |
367 | (GxICR(i) & GxICR_LEVEL) >> | 367 | (GxICR(i) & GxICR_LEVEL) >> |
368 | GxICR_LEVEL_SHIFT); | 368 | GxICR_LEVEL_SHIFT); |
369 | else | 369 | else |
370 | seq_printf(p, " %14s", | 370 | seq_printf(p, " %14s", |
371 | irq_desc[i].chip->name); | 371 | irq_desc[i].irq_data.chip->name); |
372 | 372 | ||
373 | seq_printf(p, " %s", action->name); | 373 | seq_printf(p, " %s", action->name); |
374 | 374 | ||