include: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
				
					committed by
					
						
						Linus Torvalds
					
				
			
			
				
	
			
			
			
						parent
						
							8e9c7716c1
						
					
				
				
					commit
					d5c003b4d1
				
			@@ -22,7 +22,7 @@ struct bug_entry {
 | 
			
		||||
 | 
			
		||||
#ifndef HAVE_ARCH_BUG
 | 
			
		||||
#define BUG() do { \
 | 
			
		||||
	printk("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __FUNCTION__); \
 | 
			
		||||
	printk("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \
 | 
			
		||||
	panic("BUG!"); \
 | 
			
		||||
} while (0)
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user