Explorar el Código

sh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt hace 17 años
padre
commit
55183e9bb2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/asm-sh/pgtable.h

+ 1 - 1
include/asm-sh/pgtable.h

@@ -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 */