Skip to content
Commit a40a2b67 authored by Vladimir Murzin's avatar Vladimir Murzin Committed by Benjamin Herrenschmidt
Browse files

powerpc/bpf: Fix DIVWU instruction opcode



Currently DIVWU stands for *signed* divw opcode:

7d 2a 4b 96 	divwu   r9,r10,r9
7d 2a 4b d6 	divw    r9,r10,r9

Use the *unsigned* divw opcode for DIVWU.

Suggested-by: default avatarVassili Karpov <av1474@comtv.ru>
Reviewed-by: default avatarVassili Karpov <av1474@comtv.ru>
Signed-off-by: default avatarVladimir Murzin <murzin.v@gmail.com>
Acked-by: default avatarMatt Evans <matt@ozlabs.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent a3e31b45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment