提交 39dc53de 编写于 作者: R Russell King

ARM: swpan: fix nwfpe for uaccess changes

NWFPE needs to access userspace to check whether the next instruction
is another FP instruction.  Allow userspace access for this read.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 a5e090ac
......@@ -95,9 +95,10 @@ emulate:
reteq r4 @ no, return failure
next:
uaccess_enable r3
.Lx1: ldrt r6, [r5], #4 @ get the next instruction and
@ increment PC
uaccess_disable r3
and r2, r6, #0x0F000000 @ test for FP insns
teq r2, #0x0C000000
teqne r2, #0x0D000000
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部