[PATCH] kd_mksound inclusion on PPC

From: Paul Mackerras (paulus@samba.org)
Date: Wed Sep 11 2002 - 07:53:41 EST


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.

diff -urN for-marcelo-ppc/drivers/char/vt.c linuxppc_2_4/drivers/char/vt.c
--- linux-2.4/drivers/char/vt.c Wed Aug 28 08:40:07 2002
+++ linuxppc_2_4/drivers/char/vt.c Thu Aug 29 13:11:39 2002
@@ -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__)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:25 EST