mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-04 20:19:47 +08:00 
			
		
		
		
	 298447928b
			
		
	
	
		298447928b
		
			
		
	
	
	
	
		
			
			Support for arch_irq_work_raise() and arch_irq_work_has_interrupt() was missing from riscv (a prerequisite for FULL_NOHZ). Signed-off-by: Greentime Hu <greentime.hu@sifive.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			245 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			245 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0 */
 | |
| #ifndef _ASM_RISCV_IRQ_WORK_H
 | |
| #define _ASM_RISCV_IRQ_WORK_H
 | |
| 
 | |
| static inline bool arch_irq_work_has_interrupt(void)
 | |
| {
 | |
| 	return true;
 | |
| }
 | |
| extern void arch_irq_work_raise(void);
 | |
| #endif /* _ASM_RISCV_IRQ_WORK_H */
 |