All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@avtrex.com>
To: linux-mips@linux-mips.org
Subject: [PATCH] fix warning in tlbex.c for CONFIG_32BIT
Date: Tue, 04 Oct 2005 21:37:02 -0700	[thread overview]
Message-ID: <4343586E.4030703@avtrex.com> (raw)

For 32 bit builds CONFIG_64BIT is not defined.  Should be doing #ifdef 
not #if.

Signed-off-by: David Daney <ddaney@avtrex.com>



diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -513,7 +513,7 @@ static __init int rel_lo(long val)

  static __init void i_LA_mostly(u32 **buf, unsigned int rs, long addr)
  {
-#if CONFIG_64BIT
+#ifdef CONFIG_64BIT
         if (!in_compat_space_p(addr)) {
                 i_lui(buf, rs, rel_highest(addr));
                 if (rel_higher(addr))

             reply	other threads:[~2005-10-05  4:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-05  4:37 David Daney [this message]
2005-10-05 10:53 ` [PATCH] fix warning in tlbex.c for CONFIG_32BIT Ralf Baechle
2005-10-05 15:48   ` David Daney
2005-10-05 17:17     ` Ralf Baechle

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=4343586E.4030703@avtrex.com \
    --to=ddaney@avtrex.com \
    --cc=linux-mips@linux-mips.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.