* [PATCH] kd_mksound inclusion on PPC
@ 2002-09-11 12:53 Paul Mackerras
0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2002-09-11 12:53 UTC (permalink / raw)
To: marcelo; +Cc: linux-kernel
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__)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-11 12:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-11 12:53 [PATCH] kd_mksound inclusion on PPC Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®