git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
m32r
/
kernel
/
setup_oaks32r.c
diff --git
a/arch/m32r/kernel/setup_oaks32r.c
b/arch/m32r/kernel/setup_oaks32r.c
index
b048345
..
0e9e635
100644
(file)
--- a/
arch/m32r/kernel/setup_oaks32r.c
+++ b/
arch/m32r/kernel/setup_oaks32r.c
@@
-3,8
+3,8
@@
*
* Setup routines for OAKS32R Board
*
*
* Setup routines for OAKS32R Board
*
- * Copyright (c) 2002-200
4
Hiroyuki Kondo, Hirokazu Takata,
- *
Hitoshi Yamamoto, Mamoru Sakugawa
+ * Copyright (c) 2002-200
5
Hiroyuki Kondo, Hirokazu Takata,
+ * Hitoshi Yamamoto, Mamoru Sakugawa
*/
#include <linux/config.h>
*/
#include <linux/config.h>
@@
-18,12
+18,6
@@
#define irq2port(x) (M32R_ICU_CR1_PORTL + ((x - 1) * sizeof(unsigned long)))
#define irq2port(x) (M32R_ICU_CR1_PORTL + ((x - 1) * sizeof(unsigned long)))
-#ifndef CONFIG_SMP
-typedef struct {
- unsigned long icucr; /* ICU Control Register */
-} icu_data_t;
-#endif /* CONFIG_SMP */
-
icu_data_t icu_data[NR_IRQS];
static void disable_oaks32r_irq(unsigned int irq)
icu_data_t icu_data[NR_IRQS];
static void disable_oaks32r_irq(unsigned int irq)
@@
-70,13
+64,13
@@
static void shutdown_oaks32r_irq(unsigned int irq)
static struct hw_interrupt_type oaks32r_irq_type =
{
static struct hw_interrupt_type oaks32r_irq_type =
{
- "OAKS32R-IRQ",
- startup_oaks32r_irq,
- shutdown_oaks32r_irq,
- enable_oaks32r_irq,
- disable_oaks32r_irq,
- mask_and_ack_mappi,
- end_oaks32r_irq
+
.typename =
"OAKS32R-IRQ",
+
.startup =
startup_oaks32r_irq,
+
.shutdown =
shutdown_oaks32r_irq,
+
.enable =
enable_oaks32r_irq,
+
.disable =
disable_oaks32r_irq,
+
.ack =
mask_and_ack_mappi,
+
.end =
end_oaks32r_irq
};
void __init init_IRQ(void)
};
void __init init_IRQ(void)
@@
-139,5
+133,4
@@
void __init init_IRQ(void)
icu_data[M32R_IRQ_SIO1_S].icucr = 0;
disable_oaks32r_irq(M32R_IRQ_SIO1_S);
#endif /* CONFIG_SERIAL_M32R_SIO */
icu_data[M32R_IRQ_SIO1_S].icucr = 0;
disable_oaks32r_irq(M32R_IRQ_SIO1_S);
#endif /* CONFIG_SERIAL_M32R_SIO */
-
}
}