diff options
author | Helge Deller <deller@gmx.de> | 2015-12-06 21:25:20 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2015-12-12 16:45:23 +0100 |
commit | 78c0cbffebe60e1182c8f077de2c06a1a48dc5ae (patch) | |
tree | 270676fe9583e0caf922907a577df3b3dd72d30a /arch/parisc | |
parent | 5c477b45792fb8ccd279162483aa57cc8ee40ae1 (diff) | |
download | linux-78c0cbffebe60e1182c8f077de2c06a1a48dc5ae.tar.gz linux-78c0cbffebe60e1182c8f077de2c06a1a48dc5ae.tar.bz2 linux-78c0cbffebe60e1182c8f077de2c06a1a48dc5ae.zip |
parisc: Disable huge pages on Mako machines
Mako-based machines (PA8800 and PA8900 CPUs) don't allow aliasing on
non-equaivalent addresses.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/pgtable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/pgtable.h b/arch/parisc/include/asm/pgtable.h index d8534f95915a..291cee28ccb6 100644 --- a/arch/parisc/include/asm/pgtable.h +++ b/arch/parisc/include/asm/pgtable.h @@ -372,7 +372,8 @@ static inline pte_t pte_mkspecial(pte_t pte) { return pte; } */ #ifdef CONFIG_HUGETLB_PAGE #define pte_huge(pte) (pte_val(pte) & _PAGE_HUGE) -#define pte_mkhuge(pte) (__pte(pte_val(pte) | _PAGE_HUGE)) +#define pte_mkhuge(pte) (__pte(pte_val(pte) | \ + (parisc_requires_coherency() ? 0 : _PAGE_HUGE))) #else #define pte_huge(pte) (0) #define pte_mkhuge(pte) (pte) |