| 
									
										
										
										
											2009-01-02 19:21:06 -08:00
										 |  |  | #ifndef __SPARC_SIGNAL_H
 | 
					
						
							|  |  |  | #define __SPARC_SIGNAL_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __ASSEMBLY__
 | 
					
						
							|  |  |  | #include <linux/personality.h>
 | 
					
						
							|  |  |  | #include <linux/types.h>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2012-10-09 09:47:43 +01:00
										 |  |  | #include <uapi/asm/signal.h>
 | 
					
						
							| 
									
										
										
										
											2009-01-02 19:21:06 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | #ifndef __ASSEMBLY__
 | 
					
						
							|  |  |  | /*
 | 
					
						
							|  |  |  |  * DJHR | 
					
						
							|  |  |  |  * SA_STATIC_ALLOC is used for the sparc32 system to indicate that this | 
					
						
							|  |  |  |  * interrupt handler's irq structure should be statically allocated | 
					
						
							|  |  |  |  * by the request_irq routine. | 
					
						
							|  |  |  |  * The alternative is that arch/sparc/kernel/irq.c has carnal knowledge | 
					
						
							|  |  |  |  * of interrupt usage and that sucks. Also without a flag like this | 
					
						
							|  |  |  |  * it may be possible for the free_irq routine to attempt to free | 
					
						
							|  |  |  |  * statically allocated data.. which is NOT GOOD. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #define SA_STATIC_ALLOC         0x8000
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-11-25 21:20:05 -05:00
										 |  |  | #define __ARCH_HAS_KA_RESTORER
 | 
					
						
							| 
									
										
										
										
											2012-11-25 22:24:19 -05:00
										 |  |  | #define __ARCH_HAS_SA_RESTORER
 | 
					
						
							| 
									
										
										
										
											2009-01-02 19:21:06 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif /* !(__ASSEMBLY__) */
 | 
					
						
							|  |  |  | #endif /* !(__SPARC_SIGNAL_H) */
 |