ames: fix _fine_lop()

This commit is contained in:
Ted Blackman 2022-05-28 19:59:43 -05:00
parent 6da640693a
commit 249c9a2c1a

View File

@ -1452,7 +1452,7 @@ _ames_skip(u3_prel* pre_u)
static inline c3_w
_fine_lop(c3_w fra_w)
{
return fra_w - (fra_w % FINE_PAGE) + 1;
return 1 + (((fra_w - 1) / FINE_PAGE) * FINE_PAGE);
}
/* _fine_pack_scry_cb(): receive packets for datum out of fine