projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b23427
)
[SPARC64] Fix build if CONFIG_HUGETLB_PAGE is not set
author
Fabio M. Di Nitto
<fabbione@ubuntu.com>
Sat, 18 Feb 2006 08:32:31 +0000
(
00:32
-0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:35 +0000
(
01:13
-0800)
Signed-off-by: Fabio M. Di Nitto <fabbione@ubuntu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/pgtable.h
patch
|
blob
|
history
diff --git
a/include/asm-sparc64/pgtable.h
b/include/asm-sparc64/pgtable.h
index bc446f302ea46a9241e668dbe0c8e25796040ed8..bab7defd8b3e3e0ad97b4e2e5fc749102573f2c6 100644
(file)
--- 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)
{