diff options
| author | Tony Lindgren <tony@atomide.com> | 2011-11-07 12:27:23 -0800 | 
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2011-11-07 12:27:23 -0800 | 
| commit | d30cc16c8e48368e0518f4975a78711e53e14a0f (patch) | |
| tree | 26b57f7ab5a963cc3d6c57dff6951bd930875583 /arch/tile/include/asm/sigcontext.h | |
| parent | 41eb2d813f558900884e240c2f723e36c7bd151f (diff) | |
| parent | a1bcc1dcef8451b4291ea2a1b2677cb194102952 (diff) | |
| download | olio-linux-3.10-d30cc16c8e48368e0518f4975a78711e53e14a0f.tar.xz olio-linux-3.10-d30cc16c8e48368e0518f4975a78711e53e14a0f.zip  | |
Merge branch 'fixes-modulesplit' into fixes
Diffstat (limited to 'arch/tile/include/asm/sigcontext.h')
| -rw-r--r-- | arch/tile/include/asm/sigcontext.h | 18 | 
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/tile/include/asm/sigcontext.h b/arch/tile/include/asm/sigcontext.h index 5e2d03336f5..6348e59d372 100644 --- a/arch/tile/include/asm/sigcontext.h +++ b/arch/tile/include/asm/sigcontext.h @@ -15,6 +15,8 @@  #ifndef _ASM_TILE_SIGCONTEXT_H  #define _ASM_TILE_SIGCONTEXT_H +/* Don't pollute the namespace since <signal.h> includes this file. */ +#define __need_int_reg_t  #include <arch/abi.h>  /* @@ -22,14 +24,14 @@   * but is simplified since we know the fault is from userspace.   */  struct sigcontext { -	uint_reg_t gregs[53];	/* General-purpose registers.  */ -	uint_reg_t tp;		/* Aliases gregs[TREG_TP].  */ -	uint_reg_t sp;		/* Aliases gregs[TREG_SP].  */ -	uint_reg_t lr;		/* Aliases gregs[TREG_LR].  */ -	uint_reg_t pc;		/* Program counter.  */ -	uint_reg_t ics;		/* In Interrupt Critical Section?  */ -	uint_reg_t faultnum;	/* Fault number.  */ -	uint_reg_t pad[5]; +	__uint_reg_t gregs[53];	/* General-purpose registers.  */ +	__uint_reg_t tp;	/* Aliases gregs[TREG_TP].  */ +	__uint_reg_t sp;	/* Aliases gregs[TREG_SP].  */ +	__uint_reg_t lr;	/* Aliases gregs[TREG_LR].  */ +	__uint_reg_t pc;	/* Program counter.  */ +	__uint_reg_t ics;	/* In Interrupt Critical Section?  */ +	__uint_reg_t faultnum;	/* Fault number.  */ +	__uint_reg_t pad[5];  };  #endif /* _ASM_TILE_SIGCONTEXT_H */  |