Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH]: cswitch not defined if !CONFIG_VT
@ 2003-03-28  0:51 Juan Quintela
  2003-03-29  0:08 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Juan Quintela @ 2003-03-28  0:51 UTC (permalink / raw)
  To: Ralf Baechle, mipslist


Hi
	cswitch is only used when CONFIG_VT is defined.

Later, Juan.


 build/arch/mips/sgi-ip22/ip22-setup.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN build/arch/mips/sgi-ip22/ip22-setup.c~cswitch_only_needed_by_VT build/arch/mips/sgi-ip22/ip22-setup.c
--- 24/build/arch/mips/sgi-ip22/ip22-setup.c~cswitch_only_needed_by_VT	2003-03-28 00:15:26.000000000 +0100
+++ 24-quintela/build/arch/mips/sgi-ip22/ip22-setup.c	2003-03-28 00:15:50.000000000 +0100
@@ -142,8 +142,9 @@ void __init ip22_setup(void)
 	/* Now enable boardcaches, if any. */
 	indy_sc_init();
 #endif
+#ifdef CONFIG_VT
 	conswitchp = NULL;
-
+#endif
 	/* Set the IO space to some sane value */
 	set_io_port_base (KSEG1ADDR (0x00080000));
 

_


-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-29  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-28  0:51 [PATCH]: cswitch not defined if !CONFIG_VT Juan Quintela
2003-03-29  0:08 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox