linux-mips
[Top] [All Lists]

[PATCH]: fix unknown value of page mask

To: Ralf Baechle <ralf@linux-mips.org>, mipslist <linux-mips@linux-mips.org>
Subject: [PATCH]: fix unknown value of page mask
From: Juan Quintela <quintela@mandrakesoft.com>
Date: 19 Dec 2002 11:46:42 +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi
        here we don't do anything if we don't know the size :(
        returning a sensical value.

Later, Juan.
        

Index: arch/mips/lib/dump_tlb.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/lib/dump_tlb.c,v
retrieving revision 1.8.2.6
diff -u -r1.8.2.6 dump_tlb.c
--- arch/mips/lib/dump_tlb.c    18 Dec 2002 22:47:37 -0000      1.8.2.6
+++ arch/mips/lib/dump_tlb.c    19 Dec 2002 10:38:02 -0000
@@ -31,6 +31,7 @@
        case PM_64M:    return "64Mb";
        case PM_256M:   return "256Mb";
 #endif
+       default:        return "unknown size";
        }
 }
 
-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH]: fix unknown value of page mask, Juan Quintela <=