Skip to contentSkip to conversation

: cswitch not defined if !CONFIG_VT

PATCH Applied Juan Quintela 2 participants 2 messages Mar 28, 2003 – Mar 29, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : cswitch not defined if !CONFIG_VT

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(-)
build/arch/mips/sgi-ip22/ip22-setup.c renamed from build/arch/mips/sgi-ip22/ip22-setup.c~cswitch_only_needed_by_VT +2 -1
diff -puN build/arch/mips/sgi-ip22/ip22-setup.c~cswitch_only_needed_by_VT build/arch/mips/sgi-ip22/ip22-setup.c
@@ -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));
 

_

Signature · 2 lines
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy
Applied
#1 lore raw
Quoted 1 line · Juan Quintela

cswitch is only used when CONFIG_VT is defined.

Applied,

Ralf