[SPARC64] Fix build if CONFIG_HUGETLB_PAGE is not set
Signed-off-by: Fabio M. Di Nitto <fabbione@ubuntu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8b23427441
commit
f6c1fe5292
|
@ -354,6 +354,7 @@ static inline pgprot_t pgprot_noncached(pgprot_t prot)
|
|||
*/
|
||||
#define pgprot_noncached pgprot_noncached
|
||||
|
||||
#ifdef CONFIG_HUGETLB_PAGE
|
||||
static inline pte_t pte_mkhuge(pte_t pte)
|
||||
{
|
||||
unsigned long mask;
|
||||
|
@ -371,6 +372,7 @@ static inline pte_t pte_mkhuge(pte_t pte)
|
|||
|
||||
return __pte(pte_val(pte) | mask);
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline pte_t pte_mkdirty(pte_t pte)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue