sh: Fixup pte_mkhuge() build failure.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 02:20:53 +0000 (11:20 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 02:20:53 +0000 (11:20 +0900)
commit5b67954e804465a4658dd4da8d52b87a8d1ea00c
treeecaf439834f2e6453c090700f051cd7952a6043a
parentf36af73304555849985b1fb5c0821c1bfab3a5a0
sh: Fixup pte_mkhuge() build failure.

When hugetlbpage support isn't enabled, this can be bogus.
Wrap it back in _PAGE_FLAGS_HARD to avoid changes to the
base PTE when not aiming for larger sizes.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/pgtable.h