diff options
author | Fabio M. Di Nitto <fabbione@ubuntu.com> | 2006-02-18 00:32:31 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 01:13:35 -0800 |
commit | f6c1fe529217788f095f6953c2b66bec1196ad3d (patch) | |
tree | 609476e09d7778c55775e88879ba77dd4a23f1f2 /include | |
parent | 8b234274418d6d79527c4ac3a72da446ca4cb35f (diff) | |
download | op-kernel-dev-f6c1fe529217788f095f6953c2b66bec1196ad3d.zip op-kernel-dev-f6c1fe529217788f095f6953c2b66bec1196ad3d.tar.gz |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc64/pgtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/pgtable.h b/include/asm-sparc64/pgtable.h index bc446f3..bab7def 100644 --- a/include/asm-sparc64/pgtable.h +++ b/include/asm-sparc64/pgtable.h @@ -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) { |