git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86/bitops: Move BIT_64() for a wider use
[pandora-kernel.git]
/
arch
/
x86
/
include
/
asm
/
hugetlb.h
diff --git
a/arch/x86/include/asm/hugetlb.h
b/arch/x86/include/asm/hugetlb.h
index
439a9ac
..
4e8225c
100644
(file)
--- a/
arch/x86/include/asm/hugetlb.h
+++ b/
arch/x86/include/asm/hugetlb.h
@@
-3,6
+3,7
@@
#include <asm/page.h>
#include <asm/page.h>
+#define hugepages_supported() cpu_has_pse
static inline int is_hugepage_only_range(struct mm_struct *mm,
unsigned long addr,
static inline int is_hugepage_only_range(struct mm_struct *mm,
unsigned long addr,
@@
-51,6
+52,7
@@
static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
unsigned long addr, pte_t *ptep)
{
static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
unsigned long addr, pte_t *ptep)
{
+ ptep_clear_flush(vma, addr, ptep);
}
static inline int huge_pte_none(pte_t pte)
}
static inline int huge_pte_none(pte_t pte)