mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	xtensa: drop dead code from entry.S
KERNEL_STACK_OVERFLOW_CHECK is incomplete and have never been enabled. Remove it. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
		
							parent
							
								
									a8f0c31fa8
								
							
						
					
					
						commit
						4b81690980
					
				
					 1 changed files with 0 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -28,15 +28,6 @@
 | 
			
		|||
#include <asm/tlbflush.h>
 | 
			
		||||
#include <variant/tie-asm.h>
 | 
			
		||||
 | 
			
		||||
/* Unimplemented features. */
 | 
			
		||||
 | 
			
		||||
#undef KERNEL_STACK_OVERFLOW_CHECK
 | 
			
		||||
 | 
			
		||||
/* Not well tested.
 | 
			
		||||
 *
 | 
			
		||||
 * - fast_coprocessor
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Macro to find first bit set in WINDOWBASE from the left + 1
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			@ -350,15 +341,6 @@ KABI_W	_bbsi.l	a2, 3, 1f
 | 
			
		|||
	l32i	a0, a1, PT_AREG0	# restore saved a0
 | 
			
		||||
	wsr	a0, depc
 | 
			
		||||
 | 
			
		||||
#ifdef KERNEL_STACK_OVERFLOW_CHECK
 | 
			
		||||
 | 
			
		||||
	/*  Stack overflow check, for debugging  */
 | 
			
		||||
	extui	a2, a1, TASK_SIZE_BITS,XX
 | 
			
		||||
	movi	a3, SIZE??
 | 
			
		||||
	_bge	a2, a3, out_of_stack_panic
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * This is the common exception handler.
 | 
			
		||||
 * We get here from the user exception handler or simply by falling through
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue