diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-12 10:37:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-12 10:37:59 -0400 |
commit | 83d3d3c52468394419474d053df9dfe60d8f21c2 (patch) | |
tree | 2d69c6c54c591c2732f283baedd374d57eb061fc /arch | |
parent | 994bd4f9f5a065ead4a92435fdd928ac7fd33809 (diff) | |
parent | ab5da288ce6a526a0a730362b8c4e03c3a0b58d5 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC32]: Fix sparc32 modpost warnings.
[SPARC32]: Fix sparc32 modpost warnings with sunzilog
[SPARC32]: Mark srmmu_nocache_init as __init.
[SPARC32]: pcic.c needs asm/irq_regs.h
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/pcic.c | 1 | ||||
-rw-r--r-- | arch/sparc/kernel/setup.c | 10 | ||||
-rw-r--r-- | arch/sparc/kernel/vmlinux.lds.S | 4 | ||||
-rw-r--r-- | arch/sparc/mm/srmmu.c | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/setup.c | 10 |
5 files changed, 4 insertions, 23 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index b4e50ae323bf..207f1b6eef53 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <asm/pcic.h> | 34 | #include <asm/pcic.h> |
35 | #include <asm/timer.h> | 35 | #include <asm/timer.h> |
36 | #include <asm/uaccess.h> | 36 | #include <asm/uaccess.h> |
37 | #include <asm/irq_regs.h> | ||
37 | 38 | ||
38 | 39 | ||
39 | unsigned int pcic_pin_to_irq(unsigned int pin, char *name); | 40 | unsigned int pcic_pin_to_irq(unsigned int pin, char *name); |
diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c index 0251cab4708b..f5ee1ac834bc 100644 --- a/arch/sparc/kernel/setup.c +++ b/arch/sparc/kernel/setup.c | |||
@@ -121,16 +121,6 @@ static struct console prom_debug_console = { | |||
121 | .index = -1, | 121 | .index = -1, |
122 | }; | 122 | }; |
123 | 123 | ||
124 | int obp_system_intr(void) | ||
125 | { | ||
126 | if (boot_flags & BOOTME_DEBUG) { | ||
127 | printk("OBP: system interrupted\n"); | ||
128 | prom_halt(); | ||
129 | return 1; | ||
130 | } | ||
131 | return 0; | ||
132 | } | ||
133 | |||
134 | /* | 124 | /* |
135 | * Process kernel command line switches that are specific to the | 125 | * Process kernel command line switches that are specific to the |
136 | * SPARC or that require special low-level processing. | 126 | * SPARC or that require special low-level processing. |
diff --git a/arch/sparc/kernel/vmlinux.lds.S b/arch/sparc/kernel/vmlinux.lds.S index 346c19a949fd..1dd78c84888a 100644 --- a/arch/sparc/kernel/vmlinux.lds.S +++ b/arch/sparc/kernel/vmlinux.lds.S | |||
@@ -36,11 +36,11 @@ SECTIONS | |||
36 | 36 | ||
37 | . = ALIGN(4096); | 37 | . = ALIGN(4096); |
38 | __init_begin = .; | 38 | __init_begin = .; |
39 | _sinittext = .; | ||
39 | .init.text : { | 40 | .init.text : { |
40 | _sinittext = .; | ||
41 | *(.init.text) | 41 | *(.init.text) |
42 | _einittext = .; | ||
43 | } | 42 | } |
43 | _einittext = .; | ||
44 | __init_text_end = .; | 44 | __init_text_end = .; |
45 | .init.data : { *(.init.data) } | 45 | .init.data : { *(.init.data) } |
46 | . = ALIGN(16); | 46 | . = ALIGN(16); |
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c index b27a506309ee..0df7121cef07 100644 --- a/arch/sparc/mm/srmmu.c +++ b/arch/sparc/mm/srmmu.c | |||
@@ -402,7 +402,7 @@ void srmmu_nocache_calcsize(void) | |||
402 | srmmu_nocache_end = SRMMU_NOCACHE_VADDR + srmmu_nocache_size; | 402 | srmmu_nocache_end = SRMMU_NOCACHE_VADDR + srmmu_nocache_size; |
403 | } | 403 | } |
404 | 404 | ||
405 | void srmmu_nocache_init(void) | 405 | void __init srmmu_nocache_init(void) |
406 | { | 406 | { |
407 | unsigned int bitmap_bits; | 407 | unsigned int bitmap_bits; |
408 | pgd_t *pgd; | 408 | pgd_t *pgd; |
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index 958287448cfe..cc8ad480a204 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c | |||
@@ -91,16 +91,6 @@ void kernel_enter_debugger(void) | |||
91 | { | 91 | { |
92 | } | 92 | } |
93 | 93 | ||
94 | int obp_system_intr(void) | ||
95 | { | ||
96 | if (boot_flags & BOOTME_DEBUG) { | ||
97 | printk("OBP: system interrupted\n"); | ||
98 | prom_halt(); | ||
99 | return 1; | ||
100 | } | ||
101 | return 0; | ||
102 | } | ||
103 | |||
104 | /* | 94 | /* |
105 | * Process kernel command line switches that are specific to the | 95 | * Process kernel command line switches that are specific to the |
106 | * SPARC or that require special low-level processing. | 96 | * SPARC or that require special low-level processing. |