Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34060b8f authored by Babu Moger's avatar Babu Moger Committed by David S. Miller
Browse files

arch/sparc: Add accurate exception reporting in M7memcpy



Add accurate exception reporting in M7memcpy

Signed-off-by: default avatarBabu Moger <babu.moger@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3a04ed5
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -5,23 +5,22 @@
 */


#define EX_LD(x)			\
#define EX_LD(x, y)			\
98:	x;				\
	.section __ex_table,"a";	\
	.align 4;			\
	.word 98b, __restore_asi;	\
	.word 98b, y;			\
	.text;				\
	.align 4;

#define EX_LD_FP(x)			\
#define EX_LD_FP(x, y)			\
98:	x;				\
	.section __ex_table,"a";	\
	.align 4;			\
	.word 98b, __restore_asi_fp;	\
	.word 98b, y##_fp;		\
	.text;				\
	.align 4;


#ifndef ASI_AIUS
#define ASI_AIUS	0x11
#endif
+5 −5
Original line number Diff line number Diff line
@@ -5,19 +5,19 @@
 */


#define EX_ST(x)			\
#define EX_ST(x, y)			\
98:	x;				\
	.section __ex_table,"a";	\
	.align 4;			\
	.word 98b, __restore_asi;	\
	.word 98b, y;			\
	.text;				\
	.align 4;

#define EX_ST_FP(x)			\
#define EX_ST_FP(x, y)			\
98:	x;				\
	.section __ex_table,"a";	\
	.align 4;			\
	.word 98b, __restore_asi_fp;	\
	.word 98b, y##_fp;		\
	.text;				\
	.align 4;