sh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 21 Nov 2007 07:19:12 +0000 (16:19 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:52 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/pgtable.h

index 5a800c6..b4d7561 100644 (file)
@@ -49,7 +49,7 @@ extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)];
  * traditional two-level paging structure
  */
 /* PTE bits */
-#ifdef CONFIG_X2TLB
+#if defined(CONFIG_X2TLB) || defined(CONFIG_SUPERH64)
 # define PTE_MAGNITUDE 3       /* 64-bit PTEs on extended mode SH-X2 TLB */
 #else
 # define PTE_MAGNITUDE 2       /* 32-bit PTEs */