include/asm-x86/mmu_context_64.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
		
					parent
					
						
							
								55464da94a
							
						
					
				
			
			
				commit
				
					
						c4fe760efd
					
				
			
		
					 1 changed files with 11 additions and 10 deletions
				
			
		| 
						 | 
					@ -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)			\
 | 
				
			||||||
	load_gs_index(0); \
 | 
					do {						\
 | 
				
			||||||
	asm volatile("movl %0,%%fs"::"r"(0));  \
 | 
						load_gs_index(0);			\
 | 
				
			||||||
} while(0)
 | 
						asm volatile("movl %0,%%fs"::"r"(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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue