aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-12 01:26:11 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-01-12 01:26:11 -0500
commitb9303a79567d4a45b015dff7e71dd24923332d8d (patch)
tree27f65bbe579e8f1f00c971a5f5d27add0e4b349d
parent65fedbbef8404be5e1dbd18bdad252616b49a24b (diff)
sh: Kill off more unused sh_bios callbacks.
sh_bios_char_out() is not used by anything in-tree these days, so just get rid of it. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/include/asm/sh_bios.h1
-rw-r--r--arch/sh/kernel/sh_bios.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/sh/include/asm/sh_bios.h b/arch/sh/include/asm/sh_bios.h
index d8a67a17777c..95714c28422b 100644
--- a/arch/sh/include/asm/sh_bios.h
+++ b/arch/sh/include/asm/sh_bios.h
@@ -9,7 +9,6 @@
9 * usually from within the early stages of kernel boot. 9 * usually from within the early stages of kernel boot.
10 */ 10 */
11extern void sh_bios_console_write(const char *buf, unsigned int len); 11extern void sh_bios_console_write(const char *buf, unsigned int len);
12extern void sh_bios_char_out(char ch);
13extern void sh_bios_gdb_detach(void); 12extern void sh_bios_gdb_detach(void);
14 13
15extern void sh_bios_get_node_addr(unsigned char *node_addr); 14extern void sh_bios_get_node_addr(unsigned char *node_addr);
diff --git a/arch/sh/kernel/sh_bios.c b/arch/sh/kernel/sh_bios.c
index 2a5f2e0d505d..2a9c6d50d2c0 100644
--- a/arch/sh/kernel/sh_bios.c
+++ b/arch/sh/kernel/sh_bios.c
@@ -34,11 +34,6 @@ void sh_bios_console_write(const char *buf, unsigned int len)
34 sh_bios_call(BIOS_CALL_CONSOLE_WRITE, (long)buf, (long)len, 0, 0); 34 sh_bios_call(BIOS_CALL_CONSOLE_WRITE, (long)buf, (long)len, 0, 0);
35} 35}
36 36
37void sh_bios_char_out(char ch)
38{
39 sh_bios_call(BIOS_CALL_CHAR_OUT, ch, 0, 0, 0);
40}
41
42void sh_bios_gdb_detach(void) 37void sh_bios_gdb_detach(void)
43{ 38{
44 sh_bios_call(BIOS_CALL_GDB_DETACH, 0, 0, 0, 0); 39 sh_bios_call(BIOS_CALL_GDB_DETACH, 0, 0, 0, 0);