kd_mksound inclusion on PPC
PATCH 1/1 kd_mksound inclusion on PPC
Marcelo,
On PPC, we have many platforms which don't have an ISA timer chip and on which therefore the default _kd_mksound does the wrong thing. This patch changes drivers/char/vt.c so we can use a config option, CONFIG_PPC_ISATIMER, to control whether we get the default _kd_mksound or not, rather than including it on all PPC machines. (The CONFIG_PPC_ISATIMER is derived from the user's choice of platform support, we don't ask about it explicitly.)
Please apply this to your tree.
Thanks,
Paul.
drivers/char/vt.c +1 -1
@@ -90,7 +90,7 @@* comments - KDMKTONE doesn't put the process to sleep. */ -#if defined(__i386__) || defined(__alpha__) || defined(__powerpc__) \ +#if defined(__i386__) || defined(__alpha__) || defined(CONFIG_PPC_ISATIMER ) \ || (defined(__mips__) && defined(CONFIG_ISA )) \ || (defined(__arm__) && defined(CONFIG_HOST_FOOTBRIDGE )) \ || defined(__x86_64__)