mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	fix: "smp_call_function: get rid of the unused nonatomic/retry argument"
fix: kernel/smp.c: In function 'smp_call_function_mask': kernel/smp.c:303: error: too many arguments to function 'smp_call_function_single' Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
		
							parent
							
								
									127a237a1f
								
							
						
					
					
						commit
						ce0d1b6f73
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -300,7 +300,7 @@ int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info,
 | 
				
			||||||
		return 0;
 | 
							return 0;
 | 
				
			||||||
	else if (num_cpus == 1) {
 | 
						else if (num_cpus == 1) {
 | 
				
			||||||
		cpu = first_cpu(mask);
 | 
							cpu = first_cpu(mask);
 | 
				
			||||||
		return smp_call_function_single(cpu, func, info, 0, wait);
 | 
							return smp_call_function_single(cpu, func, info, wait);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (!wait) {
 | 
						if (!wait) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue