mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 18:28:19 +00:00 
			
		
		
		
	 a71c1ab50a
			
		
	
	
		a71c1ab50a
		
	
	
	
	
		
			
			Discussing with Matthew Wilcox some of his outstanding patches lead me to this patch (among others). The preamble in struct sigevent can be expressed independently of the architecture. Also use __ARCH_SI_PREAMBLE_SIZE on ia64. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
		
			
				
	
	
		
			10 lines
		
	
	
		
			169 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			169 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _ALPHA_SIGINFO_H
 | |
| #define _ALPHA_SIGINFO_H
 | |
| 
 | |
| #define __ARCH_SI_PREAMBLE_SIZE		(4 * sizeof(int))
 | |
| #define __ARCH_SI_TRAPNO
 | |
| 
 | |
| #include <asm-generic/siginfo.h>
 | |
| 
 | |
| #endif
 |