diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-13 19:57:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-13 19:57:04 -0400 |
commit | ab6cf0d0cb96417ef65cc2c2120c0e879edf7a4a (patch) | |
tree | 97e85188397967013783aba57907fd85bc63cbf2 /arch/mips/gt64120 | |
parent | 0d10e47f9635ecafe5a9dc6e10cb056a87a4daa2 (diff) | |
parent | f4dee85e2c6a7d7adf7ea4d6d3053a41c78175b7 (diff) |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (53 commits)
[MIPS] sparsemem: fix crash in show_mem
[MIPS] vr41xx: Update workpad setup function
[MIPS] vr41xx: Update e55 setup function
[MIPS] vr41xx: Removed old v2.4 VRC4173 driver
[MIPS] vr41xx: Move IRQ numbers to asm-mips/vr41xx/irq.h
[MIPS] MIPSsim: Build fix, rename sim_timer_setup -> plat_timer_setup.
[MIPS] Remove unused code.
[MIPS] IP22 Fix brown paper bag in RTC code.
[MIPS] Atlas, Malta, SEAD: Don't disable interrupts in mips_time_init().
[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
[MIPS] Nuke redeclarations of board_time_init.
[MIPS] Remove redeclarations of setup_irq().
[MIPS] Nuke redeclarations of board_timer_setup.
[MIPS] Print out TLB handler assembly for debugging.
[MIPS] SMTC: Reformat to Linux style.
[MIPS] MIPSsim: Delete redeclaration of ll_local_timer_interrupt.
[MIPS] IP27: Reformatting.
[MIPS] IP27: Invoke setup_irq for timer interrupt so proc stats will be shown.
[MIPS] IP27: irq_chip startup method returns unsigned int.
[MIPS] IP27: struct irq_desc member handler was renamed to chip.
...
Diffstat (limited to 'arch/mips/gt64120')
-rw-r--r-- | arch/mips/gt64120/ev64120/irq.c | 4 | ||||
-rw-r--r-- | arch/mips/gt64120/wrppmc/setup.c | 3 | ||||
-rw-r--r-- | arch/mips/gt64120/wrppmc/time.c | 3 |
3 files changed, 3 insertions, 7 deletions
diff --git a/arch/mips/gt64120/ev64120/irq.c b/arch/mips/gt64120/ev64120/irq.c index f489a8067a93..5d939ac58f3f 100644 --- a/arch/mips/gt64120/ev64120/irq.c +++ b/arch/mips/gt64120/ev64120/irq.c | |||
@@ -104,7 +104,7 @@ static void end_ev64120_irq(unsigned int irq) | |||
104 | enable_ev64120_irq(irq); | 104 | enable_ev64120_irq(irq); |
105 | } | 105 | } |
106 | 106 | ||
107 | static struct hw_interrupt_type ev64120_irq_type = { | 107 | static struct irq_chip ev64120_irq_type = { |
108 | .typename = "EV64120", | 108 | .typename = "EV64120", |
109 | .startup = startup_ev64120_irq, | 109 | .startup = startup_ev64120_irq, |
110 | .shutdown = shutdown_ev64120_irq, | 110 | .shutdown = shutdown_ev64120_irq, |
@@ -138,7 +138,7 @@ void __init arch_init_irq(void) | |||
138 | /* Let's initialize our IRQ descriptors */ | 138 | /* Let's initialize our IRQ descriptors */ |
139 | for (i = 0; i < NR_IRQS; i++) { | 139 | for (i = 0; i < NR_IRQS; i++) { |
140 | irq_desc[i].status = 0; | 140 | irq_desc[i].status = 0; |
141 | irq_desc[i].chip = &no_irq_type; | 141 | irq_desc[i].chip = &no_irq_chip; |
142 | irq_desc[i].action = NULL; | 142 | irq_desc[i].action = NULL; |
143 | irq_desc[i].depth = 0; | 143 | irq_desc[i].depth = 0; |
144 | spin_lock_init(&irq_desc[i].lock); | 144 | spin_lock_init(&irq_desc[i].lock); |
diff --git a/arch/mips/gt64120/wrppmc/setup.c b/arch/mips/gt64120/wrppmc/setup.c index 2db6375ef29e..429afc400cb4 100644 --- a/arch/mips/gt64120/wrppmc/setup.c +++ b/arch/mips/gt64120/wrppmc/setup.c | |||
@@ -8,7 +8,6 @@ | |||
8 | * Copyright (C) 1996, 1997, 2004 by Ralf Baechle (ralf@linux-mips.org) | 8 | * Copyright (C) 1996, 1997, 2004 by Ralf Baechle (ralf@linux-mips.org) |
9 | * Copyright (C) 2006, Wind River System Inc. Rongkai.zhan <rongkai.zhan@windriver.com> | 9 | * Copyright (C) 2006, Wind River System Inc. Rongkai.zhan <rongkai.zhan@windriver.com> |
10 | */ | 10 | */ |
11 | #include <linux/config.h> | ||
12 | #include <linux/init.h> | 11 | #include <linux/init.h> |
13 | #include <linux/string.h> | 12 | #include <linux/string.h> |
14 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
@@ -128,7 +127,6 @@ static void wrppmc_setup_serial(void) | |||
128 | void __init plat_mem_setup(void) | 127 | void __init plat_mem_setup(void) |
129 | { | 128 | { |
130 | extern void wrppmc_time_init(void); | 129 | extern void wrppmc_time_init(void); |
131 | extern void wrppmc_timer_setup(struct irqaction *); | ||
132 | extern void wrppmc_machine_restart(char *command); | 130 | extern void wrppmc_machine_restart(char *command); |
133 | extern void wrppmc_machine_halt(void); | 131 | extern void wrppmc_machine_halt(void); |
134 | extern void wrppmc_machine_power_off(void); | 132 | extern void wrppmc_machine_power_off(void); |
@@ -139,7 +137,6 @@ void __init plat_mem_setup(void) | |||
139 | 137 | ||
140 | /* Use MIPS Count/Compare Timer */ | 138 | /* Use MIPS Count/Compare Timer */ |
141 | board_time_init = wrppmc_time_init; | 139 | board_time_init = wrppmc_time_init; |
142 | board_timer_setup = wrppmc_timer_setup; | ||
143 | 140 | ||
144 | /* This makes the operations of 'in/out[bwl]' to the | 141 | /* This makes the operations of 'in/out[bwl]' to the |
145 | * physical address ( < KSEG0) can work via KSEG1 | 142 | * physical address ( < KSEG0) can work via KSEG1 |
diff --git a/arch/mips/gt64120/wrppmc/time.c b/arch/mips/gt64120/wrppmc/time.c index 6c24a82df0dd..5b440859bcee 100644 --- a/arch/mips/gt64120/wrppmc/time.c +++ b/arch/mips/gt64120/wrppmc/time.c | |||
@@ -10,7 +10,6 @@ | |||
10 | * Copyright (C) 1996, 1997, 2004 by Ralf Baechle (ralf@linux-mips.org) | 10 | * Copyright (C) 1996, 1997, 2004 by Ralf Baechle (ralf@linux-mips.org) |
11 | * Copyright (C) 2006, Wind River System Inc. | 11 | * Copyright (C) 2006, Wind River System Inc. |
12 | */ | 12 | */ |
13 | #include <linux/config.h> | ||
14 | #include <linux/init.h> | 13 | #include <linux/init.h> |
15 | #include <linux/string.h> | 14 | #include <linux/string.h> |
16 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
@@ -27,7 +26,7 @@ | |||
27 | 26 | ||
28 | #define WRPPMC_CPU_CLK_FREQ 40000000 /* 40MHZ */ | 27 | #define WRPPMC_CPU_CLK_FREQ 40000000 /* 40MHZ */ |
29 | 28 | ||
30 | void __init wrppmc_timer_setup(struct irqaction *irq) | 29 | void __init plat_timer_setup(struct irqaction *irq) |
31 | { | 30 | { |
32 | /* Install ISR for timer interrupt */ | 31 | /* Install ISR for timer interrupt */ |
33 | setup_irq(WRPPMC_MIPS_TIMER_IRQ, irq); | 32 | setup_irq(WRPPMC_MIPS_TIMER_IRQ, irq); |