mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	sched: Remove sched_setscheduler*() EXPORTs
Now that nothing (modular) still uses sched_setscheduler(), remove the exports. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
		
							parent
							
								
									2cca5426b9
								
							
						
					
					
						commit
						616d91b68c
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -5135,13 +5135,11 @@ int sched_setscheduler(struct task_struct *p, int policy,
 | 
			
		|||
{
 | 
			
		||||
	return _sched_setscheduler(p, policy, param, true);
 | 
			
		||||
}
 | 
			
		||||
EXPORT_SYMBOL_GPL(sched_setscheduler);
 | 
			
		||||
 | 
			
		||||
int sched_setattr(struct task_struct *p, const struct sched_attr *attr)
 | 
			
		||||
{
 | 
			
		||||
	return __sched_setscheduler(p, attr, true, true);
 | 
			
		||||
}
 | 
			
		||||
EXPORT_SYMBOL_GPL(sched_setattr);
 | 
			
		||||
 | 
			
		||||
int sched_setattr_nocheck(struct task_struct *p, const struct sched_attr *attr)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			@ -5166,7 +5164,6 @@ int sched_setscheduler_nocheck(struct task_struct *p, int policy,
 | 
			
		|||
{
 | 
			
		||||
	return _sched_setscheduler(p, policy, param, false);
 | 
			
		||||
}
 | 
			
		||||
EXPORT_SYMBOL_GPL(sched_setscheduler_nocheck);
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * SCHED_FIFO is a broken scheduler model; that is, it is fundamentally
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue