diff options
Diffstat (limited to 'arch/parisc/include/asm/assembly.h')
| -rw-r--r-- | arch/parisc/include/asm/assembly.h | 13 | 
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/assembly.h b/arch/parisc/include/asm/assembly.h index 89fb40005e3..b3069fd8346 100644 --- a/arch/parisc/include/asm/assembly.h +++ b/arch/parisc/include/asm/assembly.h @@ -438,7 +438,6 @@  	SAVE_SP  (%sr4, PT_SR4 (\regs))  	SAVE_SP  (%sr5, PT_SR5 (\regs))  	SAVE_SP  (%sr6, PT_SR6 (\regs)) -	SAVE_SP  (%sr7, PT_SR7 (\regs))  	SAVE_CR  (%cr17, PT_IASQ0(\regs))  	mtctl	 %r0,	%cr17 @@ -516,5 +515,17 @@  	nop	/* 7 */  	.endm +	/* +	 * ASM_EXCEPTIONTABLE_ENTRY +	 * +	 * Creates an exception table entry. +	 * Do not convert to a assembler macro. This won't work. +	 */ +#define ASM_EXCEPTIONTABLE_ENTRY(fault_addr, except_addr)	\ +	.section __ex_table,"aw"			!	\ +	ASM_ULONG_INSN	fault_addr, except_addr		!	\ +	.previous + +  #endif /* __ASSEMBLY__ */  #endif  | 
