aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorNick Hu <[email protected]>2019-05-30 07:01:17 +0000
committerPaul Walmsley <[email protected]>2019-06-11 15:04:26 +0000
commitd0e1f2110a5eeb6e410b2dd37d98bc5b30da7bc7 (patch)
tree9bfb7c63d1ea6a48b48a6bd222dc472835abf261 /net/lapb/lapb_iface.c
parentriscv: export pm_power_off again (diff)
downloadkernel-d0e1f2110a5eeb6e410b2dd37d98bc5b30da7bc7.tar.gz
kernel-d0e1f2110a5eeb6e410b2dd37d98bc5b30da7bc7.zip
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