mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[SPARC64] Fix build if CONFIG_HUGETLB_PAGE is not set
Signed-off-by: Fabio M. Di Nitto <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8b23427441
commit
f6c1fe5292
1 changed files with 2 additions and 0 deletions
|
|
@ -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