Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5827040df095d8dd6b5ca155dc4bfb5bafcb6ca2
Commit:     5827040df095d8dd6b5ca155dc4bfb5bafcb6ca2
Parent:     c1666e663d8443f57c1c6b0acac70c3fbaea9014
Author:     Huang, Ying <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 31 22:05:43 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 22:05:43 2008 +0100

    x86: change_page_attr_clear fix
    
    This patch replaces __change_page_attr_set_clr() with
    change_page_attr_set_clr() in change_page_attr_clear() to flush the
    TLB/cache properly.
    
    Signed-off-by: Huang Ying <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 arch/x86/mm/pageattr.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c
index 1cc6607..e297bd6 100644
--- a/arch/x86/mm/pageattr.c
+++ b/arch/x86/mm/pageattr.c
@@ -399,8 +399,7 @@ static inline int change_page_attr_set(unsigned long addr, 
int numpages,
 static inline int change_page_attr_clear(unsigned long addr, int numpages,
                                         pgprot_t mask)
 {
-       return __change_page_attr_set_clr(addr, numpages, __pgprot(0), mask);
-
+       return change_page_attr_set_clr(addr, numpages, __pgprot(0), mask);
 }
 
 int set_memory_uc(unsigned long addr, int numpages)
-
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