mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 11:03:14 +00:00 
			
		
		
		
	 4cb6066af9
			
		
	
	
		4cb6066af9
		
	
	
	
	
		
			
			For whatever reason GCC isn't able to figure things out in the control flow (in particular when min() and max() expressions are involved) on sparc as well as it can on x86. So lots of useless incorrect user copy warnings get spewed and the full-on compile failure mode of the user copy checks were never usable on sparc at all. People can debug these kinds of problems on x86. Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			34 lines
		
	
	
		
			641 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			641 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| menu "Kernel hacking"
 | |
| 
 | |
| config TRACE_IRQFLAGS_SUPPORT
 | |
| 	bool
 | |
| 	default y
 | |
| 
 | |
| source "lib/Kconfig.debug"
 | |
| 
 | |
| config DEBUG_STACK_USAGE
 | |
| 	bool "Enable stack utilization instrumentation"
 | |
| 	depends on DEBUG_KERNEL
 | |
| 	help
 | |
| 	  Enables the display of the minimum amount of free stack which each
 | |
| 	  task has ever had available in the sysrq-T and sysrq-P debug output.
 | |
| 
 | |
| 	  This option will slow down process creation somewhat.
 | |
| 
 | |
| config DEBUG_DCFLUSH
 | |
| 	bool "D-cache flush debugging"
 | |
| 	depends on SPARC64 && DEBUG_KERNEL
 | |
| 
 | |
| config MCOUNT
 | |
| 	bool
 | |
| 	depends on SPARC64
 | |
| 	depends on FUNCTION_TRACER
 | |
| 	default y
 | |
| 
 | |
| config FRAME_POINTER
 | |
| 	bool
 | |
| 	depends on MCOUNT
 | |
| 	default y
 | |
| 
 | |
| endmenu
 |