Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d9db847f29bec9957c53fbdc05d65c4286235005
Commit:     d9db847f29bec9957c53fbdc05d65c4286235005
Parent:     0d82494ebd256bfff2336689271367f9284b4865
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 13:34:02 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 13:34:02 2008 +0100

    x86: change 64-bit pageattr to use set_pte_atomic()
    
    NOP change - same as set_pte().
    
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 arch/x86/mm/pageattr_64.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/mm/pageattr_64.c b/arch/x86/mm/pageattr_64.c
index 5a03fb5..34acbcd 100644
--- a/arch/x86/mm/pageattr_64.c
+++ b/arch/x86/mm/pageattr_64.c
@@ -86,7 +86,7 @@ repeat:
        prot = canon_pgprot(prot);
 
        if (level == 4) {
-               set_pte(kpte, mk_pte(page, prot));
+               set_pte_atomic(kpte, mk_pte(page, prot));
        } else {
                /*
                 * split_large_page will take the reference for this
@@ -99,7 +99,7 @@ repeat:
                if (!split)
                        return -ENOMEM;
                pgprot_val(ref_prot2) &= ~_PAGE_NX;
-               set_pte(kpte, mk_pte(split, ref_prot2));
+               set_pte_atomic(kpte, mk_pte(split, ref_prot2));
                goto repeat;
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to