mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 08:26:29 +00:00 
			
		
		
		
	 19f9a34f87
			
		
	
	
		19f9a34f87
		
	
	
	
	
		
			
			This implements initial support for the vsyscall page on SH. At the moment we leave it configurable due to having nommu to support from the same code base. We hook it up for the signal trampoline return at present, with more to be added later, once uClibc catches up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
		
			
				
	
	
		
			19 lines
		
	
	
		
			418 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			418 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __ASM_SH_AUXVEC_H
 | |
| #define __ASM_SH_AUXVEC_H
 | |
| 
 | |
| /*
 | |
|  * Architecture-neutral AT_ values in 0-17, leave some room
 | |
|  * for more of them.
 | |
|  */
 | |
| 
 | |
| #ifdef CONFIG_VSYSCALL
 | |
| /*
 | |
|  * Only define this in the vsyscall case, the entry point to
 | |
|  * the vsyscall page gets placed here. The kernel will attempt
 | |
|  * to build a gate VMA we don't care about otherwise..
 | |
|  */
 | |
| #define AT_SYSINFO_EHDR		33
 | |
| #endif
 | |
| 
 | |
| #endif /* __ASM_SH_AUXVEC_H */
 |