commit | b81b6d959af3262d1f3b9af994c83732bc29c08e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jan 13 20:29:45 2021 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Mon Feb 01 15:11:40 2021 +0800 |
tree | b61e17db1d0ee07f09427a3fe82a71f07c2fbd82 | |
parent | 9743046b4095dfd45370c908a4e976342719cacd [diff] |
x86: tsc_timer: Correct overflow in __udelay() At present long delays such as msleep(2000) can cause an overflow in this function. There is no need for this, since it already uses a 64-bit int. Add a cast to correct this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>