summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/setup.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-19 02:28:16 +0300
committerDavid S. Miller <davem@davemloft.net>2008-02-19 02:28:16 +0300
commit667bc389c716389795c6cfa145ab5ef6279fbb62 (patch)
tree53a240acf9e4eef42cec6de3c8324f04cbc0c094 /arch/sparc/kernel/setup.c
parent30b3cfe1f67550bb6ec6868507a78060ef98269a (diff)
downloadlinux-667bc389c716389795c6cfa145ab5ef6279fbb62.tar.xz
[SPARC]: Kill 'prom_palette'.
The idea of this thing is we could save/restore the firmware's palette when breaking in and out of the firmware prompt. Only one driver implemented this (atyfb) and it's value is questionable. If you're just debugging you don't really care that the characters end up being purple or whatever. And we can provide better debugging and firmware command facilities with minimal in-kernel console I/O drivers. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/setup.c')
-rw-r--r--arch/sparc/kernel/setup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c
index 5f1508eeb84d..3c13137685da 100644
--- a/arch/sparc/kernel/setup.c
+++ b/arch/sparc/kernel/setup.c
@@ -65,7 +65,6 @@ struct screen_info screen_info = {
*/
extern unsigned long trapbase;
-void (*prom_palette)(int);
/* Pretty sick eh? */
void prom_sync_me(void)
@@ -80,8 +79,6 @@ void prom_sync_me(void)
"nop\n\t"
"nop\n\t" : : "r" (&trapbase));
- if (prom_palette)
- prom_palette(1);
prom_printf("PROM SYNC COMMAND...\n");
show_free_areas();
if(current->pid != 0) {