Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] fix warning in tlbex.c for CONFIG_32BIT
@ 2005-10-05  4:37 David Daney
  2005-10-05 10:53 ` Ralf Baechle
  0 siblings, 1 reply; 4+ messages in thread
From: David Daney @ 2005-10-05  4:37 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-05 17:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-05  4:37 [PATCH] fix warning in tlbex.c for CONFIG_32BIT David Daney
2005-10-05 10:53 ` Ralf Baechle
2005-10-05 15:48   ` David Daney
2005-10-05 17:17     ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox