mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 08:26:29 +00:00 
			
		
		
		
	 a81bd80a0b
			
		
	
	
		a81bd80a0b
		
	
	
	
	
		
			
			Impact: clean up Now that a generic in_nmi is available, this patch removes the special code in the ring_buffer and implements the in_nmi generic version instead. With this change, I was also able to rename the "arch_ftrace_nmi_enter" back to "ftrace_nmi_enter" and remove the code from the ring buffer. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			298 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			298 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _LINUX_FTRACE_IRQ_H
 | |
| #define _LINUX_FTRACE_IRQ_H
 | |
| 
 | |
| 
 | |
| #ifdef CONFIG_FTRACE_NMI_ENTER
 | |
| extern void ftrace_nmi_enter(void);
 | |
| extern void ftrace_nmi_exit(void);
 | |
| #else
 | |
| static inline void ftrace_nmi_enter(void) { }
 | |
| static inline void ftrace_nmi_exit(void) { }
 | |
| #endif
 | |
| 
 | |
| #endif /* _LINUX_FTRACE_IRQ_H */
 |