Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181041
b: refs/heads/master
c: 3f5ab76
h: refs/heads/master
i:
  181039: 54fda17
v: v3
  • Loading branch information
Matt Fleming committed Jan 2, 2010
1 parent a26c13d commit 1b84622
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e591a517230a97e93f5edd19e7bef7ec8d22ac2b
refs/heads/master: 3f5ab768164df9a44721660b96e0accb92eb2c24
4 changes: 2 additions & 2 deletions trunk/arch/sh/include/asm/pgtable_pmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#define USER_PTRS_PER_PGD 2

/* PMD bits */
#define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT - 3))
#define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT - PTE_MAGNITUDE))
#define PMD_SIZE (1UL << PMD_SHIFT)
#define PMD_MASK (~(PMD_SIZE-1))

#define PTRS_PER_PMD (PAGE_SIZE / sizeof(pmd_t))
#define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)

#define pmd_ERROR(e) \
printk("%s:%d: bad pmd %016llx.\n", __FILE__, __LINE__, pmd_val(e))
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/sh/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ config PAGE_SIZE_4KB

config PAGE_SIZE_8KB
bool "8kB"
depends on !MMU || X2TLB && !PGTABLE_LEVELS_3
depends on !MMU || X2TLB
help
This enables 8kB pages as supported by SH-X2 and later MMUs.

Expand All @@ -232,7 +232,7 @@ config PAGE_SIZE_16KB

config PAGE_SIZE_64KB
bool "64kB"
depends on !MMU || CPU_SH4 && !PGTABLE_LEVELS_3 || CPU_SH5
depends on !MMU || CPU_SH4 || CPU_SH5
help
This enables support for 64kB pages, possible on all SH-4
CPUs and later.
Expand Down

0 comments on commit 1b84622

Please sign in to comment.