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:
8dd60a3
)
thp: add native_set_pmd_at
author
Andrea Arcangeli
<
[email protected]
>
Thu, 13 Jan 2011 23:46:35 +0000
(15:46 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 14 Jan 2011 01:32:39 +0000
(17:32 -0800)
Used by paravirt and not paravirt set_pmd_at.
Signed-off-by: Andrea Arcangeli <
[email protected]
>
Acked-by: Rik van Riel <
[email protected]
>
Acked-by: Mel Gorman <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86/include/asm/pgtable.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/pgtable.h
b/arch/x86/include/asm/pgtable.h
index ada823a13c7c9460a06e330e00de2456cab9e66f..6d3dde32733299392d2fab422f38662b23527471 100644
(file)
--- a/
arch/x86/include/asm/pgtable.h
+++ b/
arch/x86/include/asm/pgtable.h
@@
-530,6
+530,12
@@
static inline void native_set_pte_at(struct mm_struct *mm, unsigned long addr,
native_set_pte(ptep, pte);
}
+static inline void native_set_pmd_at(struct mm_struct *mm, unsigned long addr,
+ pmd_t *pmdp , pmd_t pmd)
+{
+ native_set_pmd(pmdp, pmd);
+}
+
#ifndef CONFIG_PARAVIRT
/*
* Rules for using pte_update - it must be called after any PTE update which