Commit b72460dc authored by Mao Minkai's avatar Mao Minkai Committed by guzitao
Browse files

sw64: remove unused code for unaligned load store emulation

Sunway inclusion
category: performance
bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG



--------------------------------

Signed-off-by: default avatarMao Minkai <maominkai@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 0790107b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -530,10 +530,6 @@ do_entUna(void *va, unsigned long opcode, unsigned long reg,
			 1L << 0x21 | 1L << 0x29 | /* ldhu sth */	\
			 1L << 0x20 | 1L << 0x28)  /* ldbu stb */

#define OP_WRITE_MASK	(1L << 0x26 | 1L << 0x27 | /* fsts fstd */	\
			 1L << 0x2c | 1L << 0x2d | /* stw stl */	\
			 1L << 0x0d | 1L << 0x0e)  /* sth stb */

asmlinkage void
do_entUnaUser(void __user *va, unsigned long opcode,
	      unsigned long reg, struct pt_regs *regs)