Commit c4fe760e authored by Joe Perches's avatar Joe Perches Committed by Ingo Molnar

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

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 55464da9
...@@ -59,13 +59,14 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, ...@@ -59,13 +59,14 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
#endif #endif
} }
#define deactivate_mm(tsk,mm) do { \ #define deactivate_mm(tsk, mm) \
do { \
load_gs_index(0); \ load_gs_index(0); \
asm volatile("movl %0,%%fs"::"r"(0)); \ asm volatile("movl %0,%%fs"::"r"(0)); \
} while(0) } while (0)
#define activate_mm(prev, next) \ #define activate_mm(prev, next) \
switch_mm((prev),(next),NULL) switch_mm((prev), (next), NULL)
#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