aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorNick Hu <[email protected]>2019-05-30 15:01:17 +0800
committerPaul Walmsley <[email protected]>2019-06-11 08:04:26 -0700
commitd0e1f2110a5eeb6e410b2dd37d98bc5b30da7bc7 (patch)
tree9bfb7c63d1ea6a48b48a6bd222dc472835abf261 /net/lapb/lapb_iface.c
parent405945588feedac8d7609113de9c62e72575a0ef (diff)
riscv: Fix udelay in RV32.
In RV32, udelay would delay the wrong cycle. When it shifts right "UDELAY_SHIFT" bits, it either delays 0 cycle or 1 cycle. It only works correctly in RV64. Because the 'ucycles' always needs to be 64 bits variable. Signed-off-by: Nick Hu <[email protected]> Reviewed-by: Palmer Dabbelt <[email protected]> [[email protected]: fixed minor spelling error] Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions