: cswitch not defined if !CONFIG_VT
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
@@ -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
Ralf Baechle
AppliedQuoted 1 line · Juan Quintela
cswitch is only used when
CONFIG_VTis defined.
Applied,
Ralf