diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 18:56:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 18:56:19 -0400 |
commit | 98a1e95f9b5919b55c71a01546415074282d30d5 (patch) | |
tree | 7e539231ae9cf64614b6b9b358804ff8fdf056be /arch | |
parent | abe834c8a5d7e55ee12c0c8c7a5308b2c5cba95d (diff) | |
parent | 896c6fa1e59dd17e1ac2877c25cab19bbb24e666 (diff) |
Merge branch 'irq-cleanups-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6
* 'irq-cleanups-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
[ISDN] minor irq handler cleanups
drivers/char: minor irq handler cleanups
[PPC] minor irq handler cleanups
[BLACKFIN] minor irq handler cleanups
[SPARC] minor irq handler cleanups
ARM minor irq handler cleanup: avoid passing unused info to irq
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-integrator/time.c | 2 | ||||
-rw-r--r-- | arch/blackfin/kernel/time.c | 5 | ||||
-rw-r--r-- | arch/ppc/8xx_io/fec.c | 3 | ||||
-rw-r--r-- | arch/ppc/platforms/sbc82xx.c | 4 | ||||
-rw-r--r-- | arch/sparc/kernel/time.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-integrator/time.c b/arch/arm/mach-integrator/time.c index 5278f589fcee..5235f64f235b 100644 --- a/arch/arm/mach-integrator/time.c +++ b/arch/arm/mach-integrator/time.c | |||
@@ -125,7 +125,7 @@ static int rtc_probe(struct amba_device *dev, void *id) | |||
125 | xtime.tv_sec = __raw_readl(rtc_base + RTC_DR); | 125 | xtime.tv_sec = __raw_readl(rtc_base + RTC_DR); |
126 | 126 | ||
127 | ret = request_irq(dev->irq[0], arm_rtc_interrupt, IRQF_DISABLED, | 127 | ret = request_irq(dev->irq[0], arm_rtc_interrupt, IRQF_DISABLED, |
128 | "rtc-pl030", dev); | 128 | "rtc-pl030", NULL); |
129 | if (ret) | 129 | if (ret) |
130 | goto map_out; | 130 | goto map_out; |
131 | 131 | ||
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c index 9bdc8f99183a..715b3945e4c7 100644 --- a/arch/blackfin/kernel/time.c +++ b/arch/blackfin/kernel/time.c | |||
@@ -39,8 +39,7 @@ | |||
39 | /* This is an NTP setting */ | 39 | /* This is an NTP setting */ |
40 | #define TICK_SIZE (tick_nsec / 1000) | 40 | #define TICK_SIZE (tick_nsec / 1000) |
41 | 41 | ||
42 | static void time_sched_init(irqreturn_t(*timer_routine) | 42 | static void time_sched_init(irq_handler_t timer_routine); |
43 | (int, void *)); | ||
44 | static unsigned long gettimeoffset(void); | 43 | static unsigned long gettimeoffset(void); |
45 | 44 | ||
46 | static struct irqaction bfin_timer_irq = { | 45 | static struct irqaction bfin_timer_irq = { |
@@ -64,7 +63,7 @@ static struct irqaction bfin_timer_irq = { | |||
64 | #define TIME_SCALE 1 | 63 | #define TIME_SCALE 1 |
65 | 64 | ||
66 | static void | 65 | static void |
67 | time_sched_init(irqreturn_t(*timer_routine) (int, void *)) | 66 | time_sched_init(irq_handler_t timer_routine) |
68 | { | 67 | { |
69 | u32 tcount; | 68 | u32 tcount; |
70 | 69 | ||
diff --git a/arch/ppc/8xx_io/fec.c b/arch/ppc/8xx_io/fec.c index 1d4b49ad0d7f..2c604d4f6e8b 100644 --- a/arch/ppc/8xx_io/fec.c +++ b/arch/ppc/8xx_io/fec.c | |||
@@ -199,7 +199,6 @@ static int fec_enet_start_xmit(struct sk_buff *skb, struct net_device *dev); | |||
199 | #ifdef CONFIG_USE_MDIO | 199 | #ifdef CONFIG_USE_MDIO |
200 | static void fec_enet_mii(struct net_device *dev); | 200 | static void fec_enet_mii(struct net_device *dev); |
201 | #endif /* CONFIG_USE_MDIO */ | 201 | #endif /* CONFIG_USE_MDIO */ |
202 | static irqreturn_t fec_enet_interrupt(int irq, void * dev_id); | ||
203 | #ifdef CONFIG_FEC_PACKETHOOK | 202 | #ifdef CONFIG_FEC_PACKETHOOK |
204 | static void fec_enet_tx(struct net_device *dev, __u32 regval); | 203 | static void fec_enet_tx(struct net_device *dev, __u32 regval); |
205 | static void fec_enet_rx(struct net_device *dev, __u32 regval); | 204 | static void fec_enet_rx(struct net_device *dev, __u32 regval); |
@@ -472,7 +471,7 @@ fec_timeout(struct net_device *dev) | |||
472 | * This is called from the MPC core interrupt. | 471 | * This is called from the MPC core interrupt. |
473 | */ | 472 | */ |
474 | static irqreturn_t | 473 | static irqreturn_t |
475 | fec_enet_interrupt(int irq, void * dev_id) | 474 | fec_enet_interrupt(int irq, void *dev_id) |
476 | { | 475 | { |
477 | struct net_device *dev = dev_id; | 476 | struct net_device *dev = dev_id; |
478 | volatile fec_t *fecp; | 477 | volatile fec_t *fecp; |
diff --git a/arch/ppc/platforms/sbc82xx.c b/arch/ppc/platforms/sbc82xx.c index cc0935ccab7a..0df6aacb8237 100644 --- a/arch/ppc/platforms/sbc82xx.c +++ b/arch/ppc/platforms/sbc82xx.c | |||
@@ -121,8 +121,10 @@ struct hw_interrupt_type sbc82xx_i8259_ic = { | |||
121 | .end = sbc82xx_i8259_end_irq, | 121 | .end = sbc82xx_i8259_end_irq, |
122 | }; | 122 | }; |
123 | 123 | ||
124 | static irqreturn_t sbc82xx_i8259_demux(int irq, void *dev_id) | 124 | static irqreturn_t sbc82xx_i8259_demux(int dummy, void *dev_id) |
125 | { | 125 | { |
126 | int irq; | ||
127 | |||
126 | spin_lock(&sbc82xx_i8259_lock); | 128 | spin_lock(&sbc82xx_i8259_lock); |
127 | 129 | ||
128 | sbc82xx_i8259_map[0] = 0x0c; /* OCW3: Read IR register on RD# pulse */ | 130 | sbc82xx_i8259_map[0] = 0x0c; /* OCW3: Read IR register on RD# pulse */ |
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index cfaf22c05bc4..53caacbb3982 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c | |||
@@ -105,7 +105,7 @@ __volatile__ unsigned int *master_l10_limit; | |||
105 | 105 | ||
106 | #define TICK_SIZE (tick_nsec / 1000) | 106 | #define TICK_SIZE (tick_nsec / 1000) |
107 | 107 | ||
108 | irqreturn_t timer_interrupt(int irq, void *dev_id) | 108 | static irqreturn_t timer_interrupt(int dummy, void *dev_id) |
109 | { | 109 | { |
110 | /* last time the cmos clock got updated */ | 110 | /* last time the cmos clock got updated */ |
111 | static long last_rtc_update; | 111 | static long last_rtc_update; |