diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-02-17 19:11:33 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-02-28 19:42:35 +0200 |
commit | 86e9424d7252bae5ad1c17b4b8088193e6b27cbe (patch) | |
tree | ff6bbcf61d5518bd4e06f4cd09c20a4b1f6fcaa4 /kernel/hrtimer.c | |
parent | 655ffee284dfcf9a24ac0343f3e5ee6db85b85c5 (diff) | |
download | blackbird-op-linux-86e9424d7252bae5ad1c17b4b8088193e6b27cbe.tar.gz blackbird-op-linux-86e9424d7252bae5ad1c17b4b8088193e6b27cbe.zip |
vhost: logging thinko fix
vhost was dong some complex math to get
offset to log at, and got it wrong by a couple of bytes,
while in fact it's simple: get address where we write,
subtract start of buffer, add log base.
Do it this way.
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions