Commit dfbea0ad authored by Zachary Amsden's avatar Zachary Amsden Committed by Andi Kleen

[PATCH] paravirt: fix parameter names in mmu operations

Make parameter names match function argument names for the yet to be defined
pte_update_defer accessor.
Signed-off-by: default avatarZachary Amsden <zach@vmware.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@muc.de>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent a2952d89
...@@ -277,7 +277,7 @@ static inline pte_t pte_mkhuge(pte_t pte) { (pte).pte_low |= _PAGE_PSE; return p ...@@ -277,7 +277,7 @@ static inline pte_t pte_mkhuge(pte_t pte) { (pte).pte_low |= _PAGE_PSE; return p
do { \ do { \
if (dirty) { \ if (dirty) { \
(ptep)->pte_low = (entry).pte_low; \ (ptep)->pte_low = (entry).pte_low; \
pte_update_defer((vma)->vm_mm, (addr), (ptep)); \ pte_update_defer((vma)->vm_mm, (address), (ptep)); \
flush_tlb_page(vma, address); \ flush_tlb_page(vma, address); \
} \ } \
} while (0) } while (0)
...@@ -307,7 +307,7 @@ do { \ ...@@ -307,7 +307,7 @@ do { \
__dirty = pte_dirty(*(ptep)); \ __dirty = pte_dirty(*(ptep)); \
if (__dirty) { \ if (__dirty) { \
clear_bit(_PAGE_BIT_DIRTY, &(ptep)->pte_low); \ clear_bit(_PAGE_BIT_DIRTY, &(ptep)->pte_low); \
pte_update_defer((vma)->vm_mm, (addr), (ptep)); \ pte_update_defer((vma)->vm_mm, (address), (ptep)); \
flush_tlb_page(vma, address); \ flush_tlb_page(vma, address); \
} \ } \
__dirty; \ __dirty; \
...@@ -320,7 +320,7 @@ do { \ ...@@ -320,7 +320,7 @@ do { \
__young = pte_young(*(ptep)); \ __young = pte_young(*(ptep)); \
if (__young) { \ if (__young) { \
clear_bit(_PAGE_BIT_ACCESSED, &(ptep)->pte_low); \ clear_bit(_PAGE_BIT_ACCESSED, &(ptep)->pte_low); \
pte_update_defer((vma)->vm_mm, (addr), (ptep)); \ pte_update_defer((vma)->vm_mm, (address), (ptep)); \
flush_tlb_page(vma, address); \ flush_tlb_page(vma, address); \
} \ } \
__young; \ __young; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment