diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-21 02:19:12 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:52 -0500 |
commit | 55183e9bb2c2ce43d88eaa575c2d6d4fd6d865a3 (patch) | |
tree | 43d044c663a8b2650c7790497d21dd62ca3be8dd | |
parent | c96bcf958c1d79d8e8aa58722273ec7b1ffb815c (diff) |
sh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | include/asm-sh/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h index 5a800c69e049..b4d7561cd9e0 100644 --- a/include/asm-sh/pgtable.h +++ b/include/asm-sh/pgtable.h | |||
@@ -49,7 +49,7 @@ extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)]; | |||
49 | * traditional two-level paging structure | 49 | * traditional two-level paging structure |
50 | */ | 50 | */ |
51 | /* PTE bits */ | 51 | /* PTE bits */ |
52 | #ifdef CONFIG_X2TLB | 52 | #if defined(CONFIG_X2TLB) || defined(CONFIG_SUPERH64) |
53 | # define PTE_MAGNITUDE 3 /* 64-bit PTEs on extended mode SH-X2 TLB */ | 53 | # define PTE_MAGNITUDE 3 /* 64-bit PTEs on extended mode SH-X2 TLB */ |
54 | #else | 54 | #else |
55 | # define PTE_MAGNITUDE 2 /* 32-bit PTEs */ | 55 | # define PTE_MAGNITUDE 2 /* 32-bit PTEs */ |