Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -1
+2 -1
arch/parisc/include/asm/pgtable.h
··· 372 372 */ 373 373 #ifdef CONFIG_HUGETLB_PAGE 374 374 #define pte_huge(pte) (pte_val(pte) & _PAGE_HUGE) 375 - #define pte_mkhuge(pte) (__pte(pte_val(pte) | _PAGE_HUGE)) 375 + #define pte_mkhuge(pte) (__pte(pte_val(pte) | \ 376 + (parisc_requires_coherency() ? 0 : _PAGE_HUGE))) 376 377 #else 377 378 #define pte_huge(pte) (0) 378 379 #define pte_mkhuge(pte) (pte)