diff options
author | Martin Habets <errandir_news@mph.eclipse.co.uk> | 2006-10-10 17:44:01 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-12 02:56:53 -0400 |
commit | eba8cefc789f6e51a79363604a7db1dba6a678cb (patch) | |
tree | cc21f985a668dbb242497e9de88f16a55363e4f8 /arch | |
parent | e3096de34c35683bc233f76d4e86562f1d782d0d (diff) |
[SPARC32]: Fix sparc32 modpost warnings with sunzilog
Fix this 2.6.19-rc1 build warnings from modpost:
WARNING: vmlinux - Section mismatch: reference to .init.text:sunzilog_console_setup from .data between 'sunzilog_console' (at offset 0x8394) and 'devices_subsys'
Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/setup.c | 10 | ||||
-rw-r--r-- | arch/sparc64/kernel/setup.c | 10 |
2 files changed, 0 insertions, 20 deletions
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/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. |