diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
commit | 23fd07750a789a66fe88cf173d52a18f1a387da4 (patch) | |
tree | 06fdd6df35fdb835abdaa9b754d62f6b84b97250 /arch/mips/pmc-sierra | |
parent | bd787d438a59266af3c9f6351644c85ef1dd21fe (diff) | |
parent | ed28f96ac1960f30f818374d65be71d2fdf811b0 (diff) |
Merge ../linux-2.6 by hand
Diffstat (limited to 'arch/mips/pmc-sierra')
-rw-r--r-- | arch/mips/pmc-sierra/Kconfig | 3 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/atmel_read_eeprom.h | 1 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/ht-irq.c | 1 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/ht.c | 1 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/prom.c | 3 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/setup.c | 6 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/smp.c | 2 |
7 files changed, 7 insertions, 10 deletions
diff --git a/arch/mips/pmc-sierra/Kconfig b/arch/mips/pmc-sierra/Kconfig new file mode 100644 index 000000000000..24d514c9dff9 --- /dev/null +++ b/arch/mips/pmc-sierra/Kconfig | |||
@@ -0,0 +1,3 @@ | |||
1 | config HYPERTRANSPORT | ||
2 | bool "Hypertransport Support for PMC-Sierra Yosemite" | ||
3 | depends on PMC_YOSEMITE | ||
diff --git a/arch/mips/pmc-sierra/yosemite/atmel_read_eeprom.h b/arch/mips/pmc-sierra/yosemite/atmel_read_eeprom.h index c19f01a32045..a31288335fba 100644 --- a/arch/mips/pmc-sierra/yosemite/atmel_read_eeprom.h +++ b/arch/mips/pmc-sierra/yosemite/atmel_read_eeprom.h | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <linux/pci.h> | 34 | #include <linux/pci.h> |
35 | #include <linux/kernel.h> | 35 | #include <linux/kernel.h> |
36 | #include <linux/slab.h> | 36 | #include <linux/slab.h> |
37 | #include <linux/version.h> | ||
38 | #include <asm/pci.h> | 37 | #include <asm/pci.h> |
39 | #include <asm/io.h> | 38 | #include <asm/io.h> |
40 | #include <linux/init.h> | 39 | #include <linux/init.h> |
diff --git a/arch/mips/pmc-sierra/yosemite/ht-irq.c b/arch/mips/pmc-sierra/yosemite/ht-irq.c index d22c9ffe4914..5aec4057314e 100644 --- a/arch/mips/pmc-sierra/yosemite/ht-irq.c +++ b/arch/mips/pmc-sierra/yosemite/ht-irq.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/types.h> | 26 | #include <linux/types.h> |
27 | #include <linux/pci.h> | 27 | #include <linux/pci.h> |
28 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
29 | #include <linux/version.h> | ||
30 | #include <linux/init.h> | 29 | #include <linux/init.h> |
31 | #include <asm/pci.h> | 30 | #include <asm/pci.h> |
32 | 31 | ||
diff --git a/arch/mips/pmc-sierra/yosemite/ht.c b/arch/mips/pmc-sierra/yosemite/ht.c index dad228d3a220..54b65a80abf5 100644 --- a/arch/mips/pmc-sierra/yosemite/ht.c +++ b/arch/mips/pmc-sierra/yosemite/ht.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/pci.h> | 28 | #include <linux/pci.h> |
29 | #include <linux/kernel.h> | 29 | #include <linux/kernel.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <linux/version.h> | ||
32 | #include <asm/pci.h> | 31 | #include <asm/pci.h> |
33 | #include <asm/io.h> | 32 | #include <asm/io.h> |
34 | 33 | ||
diff --git a/arch/mips/pmc-sierra/yosemite/prom.c b/arch/mips/pmc-sierra/yosemite/prom.c index 1fb3e697948d..555bfacf7647 100644 --- a/arch/mips/pmc-sierra/yosemite/prom.c +++ b/arch/mips/pmc-sierra/yosemite/prom.c | |||
@@ -132,8 +132,9 @@ void __init prom_init(void) | |||
132 | prom_grab_secondary(); | 132 | prom_grab_secondary(); |
133 | } | 133 | } |
134 | 134 | ||
135 | void __init prom_free_prom_memory(void) | 135 | unsigned long __init prom_free_prom_memory(void) |
136 | { | 136 | { |
137 | return 0; | ||
137 | } | 138 | } |
138 | 139 | ||
139 | void __init prom_fixup_mem_map(unsigned long start, unsigned long end) | 140 | void __init prom_fixup_mem_map(unsigned long start, unsigned long end) |
diff --git a/arch/mips/pmc-sierra/yosemite/setup.c b/arch/mips/pmc-sierra/yosemite/setup.c index 7225bbf20ce4..bdc2ab55bed6 100644 --- a/arch/mips/pmc-sierra/yosemite/setup.c +++ b/arch/mips/pmc-sierra/yosemite/setup.c | |||
@@ -212,7 +212,7 @@ static void __init py_late_time_init(void) | |||
212 | py_rtc_setup(); | 212 | py_rtc_setup(); |
213 | } | 213 | } |
214 | 214 | ||
215 | static int __init pmc_yosemite_setup(void) | 215 | void __init plat_setup(void) |
216 | { | 216 | { |
217 | board_time_init = yosemite_time_init; | 217 | board_time_init = yosemite_time_init; |
218 | late_time_init = py_late_time_init; | 218 | late_time_init = py_late_time_init; |
@@ -228,8 +228,4 @@ static int __init pmc_yosemite_setup(void) | |||
228 | OCD_WRITE(RM9000x2_OCD_HTBAR0, HYPERTRANSPORT_BAR0_ADDR); | 228 | OCD_WRITE(RM9000x2_OCD_HTBAR0, HYPERTRANSPORT_BAR0_ADDR); |
229 | OCD_WRITE(RM9000x2_OCD_HTMASK0, HYPERTRANSPORT_SIZE0); | 229 | OCD_WRITE(RM9000x2_OCD_HTMASK0, HYPERTRANSPORT_SIZE0); |
230 | #endif | 230 | #endif |
231 | |||
232 | return 0; | ||
233 | } | 231 | } |
234 | |||
235 | early_initcall(pmc_yosemite_setup); | ||
diff --git a/arch/mips/pmc-sierra/yosemite/smp.c b/arch/mips/pmc-sierra/yosemite/smp.c index 1d3b0734c78c..0527170d6adb 100644 --- a/arch/mips/pmc-sierra/yosemite/smp.c +++ b/arch/mips/pmc-sierra/yosemite/smp.c | |||
@@ -9,7 +9,7 @@ extern void (*mips_hpt_init)(unsigned int); | |||
9 | 9 | ||
10 | #define LAUNCHSTACK_SIZE 256 | 10 | #define LAUNCHSTACK_SIZE 256 |
11 | 11 | ||
12 | static spinlock_t launch_lock __initdata; | 12 | static __initdata DEFINE_SPINLOCK(launch_lock); |
13 | 13 | ||
14 | static unsigned long secondary_sp __initdata; | 14 | static unsigned long secondary_sp __initdata; |
15 | static unsigned long secondary_gp __initdata; | 15 | static unsigned long secondary_gp __initdata; |