Commit 55464da9 authored by Joe Perches's avatar Joe Perches Committed by Ingo Molnar

include/asm-x86/mmu_context_32.h: checkpatch cleanups - formatting only

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 77d511ed
...@@ -62,7 +62,7 @@ static inline void switch_mm(struct mm_struct *prev, ...@@ -62,7 +62,7 @@ static inline void switch_mm(struct mm_struct *prev,
BUG_ON(per_cpu(cpu_tlbstate, cpu).active_mm != next); BUG_ON(per_cpu(cpu_tlbstate, cpu).active_mm != next);
if (!cpu_test_and_set(cpu, next->cpu_vm_mask)) { if (!cpu_test_and_set(cpu, next->cpu_vm_mask)) {
/* We were in lazy tlb mode and leave_mm disabled /* We were in lazy tlb mode and leave_mm disabled
* tlb flush IPI delivery. We must reload %cr3. * tlb flush IPI delivery. We must reload %cr3.
*/ */
load_cr3(next->pgd); load_cr3(next->pgd);
...@@ -75,10 +75,10 @@ static inline void switch_mm(struct mm_struct *prev, ...@@ -75,10 +75,10 @@ static inline void switch_mm(struct mm_struct *prev,
#define deactivate_mm(tsk, mm) \ #define deactivate_mm(tsk, mm) \
asm("movl %0,%%gs": :"r" (0)); asm("movl %0,%%gs": :"r" (0));
#define activate_mm(prev, next) \ #define activate_mm(prev, next) \
do { \ do { \
paravirt_activate_mm(prev, next); \ paravirt_activate_mm((prev), (next)); \
switch_mm((prev),(next),NULL); \ switch_mm((prev), (next), NULL); \
} while(0); } while (0);
#endif #endif
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