mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 09:36:25 +00:00 
			
		
		
		
	 e5083a63b6
			
		
	
	
		e5083a63b6
		
	
	
	
	
		
			
			Add support for !CONFIG_MMU setups. Signed-off-by: Johannes Weiner <jw@emlix.com> Signed-off-by: Chris Zankel <chris@zankel.net>
		
			
				
	
	
		
			26 lines
		
	
	
		
			525 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			525 B
		
	
	
	
		
			C
		
	
	
	
	
	
| static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
 | |
| {
 | |
| }
 | |
| 
 | |
| static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm)
 | |
| {
 | |
| 	return 0;
 | |
| }
 | |
| 
 | |
| static inline void destroy_context(struct mm_struct *mm)
 | |
| {
 | |
| }
 | |
| 
 | |
| static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next)
 | |
| {
 | |
| }
 | |
| 
 | |
| static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
 | |
| 				struct task_struct *tsk)
 | |
| {
 | |
| }
 | |
| 
 | |
| static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm)
 | |
| {
 | |
| }
 |