projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c96bcf9
)
sh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 21 Nov 2007 07:19:12 +0000
(16:19 +0900)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/include/asm-sh/pgtable.h
b/include/asm-sh/pgtable.h
index
5a800c6
..
b4d7561
100644
(file)
--- 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)];
* traditional two-level paging structure
*/
/* PTE bits */
-#if
def 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 */