mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
x86: introduce native_set_pte_atomic() on 64-bit too
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
a5c6251488
commit
b65e6390fb
1 changed files with 5 additions and 0 deletions
|
@ -76,6 +76,11 @@ static inline void native_set_pte(pte_t *ptep, pte_t pte)
|
||||||
*ptep = pte;
|
*ptep = pte;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
|
||||||
|
{
|
||||||
|
native_set_pte(ptep, pte);
|
||||||
|
}
|
||||||
|
|
||||||
static inline pte_t native_ptep_get_and_clear(pte_t *xp)
|
static inline pte_t native_ptep_get_and_clear(pte_t *xp)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
|
Loading…
Add table
Reference in a new issue