mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] kd_mksound inclusion on PPC
Date: Wed, 11 Sep 2002 22:53:41 +1000 (EST)	[thread overview]
Message-ID: <15743.15573.244173.684143@argo.ozlabs.ibm.com> (raw)

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__)

                 reply	other threads:[~2002-09-11 12:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15743.15573.244173.684143@argo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®