aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorDavid Gibson <[email protected]>2012-04-12 15:36:34 +1000
committerMichael S. Tsirkin <[email protected]>2012-04-15 11:51:05 +0300
commit1a87228f5f1d316002c7c161316f5524592be766 (patch)
tree3c852fe87074cdc40a3435e3c18233be3b3f23e3 /tools/perf/scripts/python/sched-migration.py
parentc0aa3e0916d7e531e69b02e426f7162dfb1c6c0f (diff)
virtio_balloon: Fix endian bug
Although virtio config space fields are usually in guest-native endian, the spec for the virtio balloon device explicitly states that both fields in its config space are little-endian. However, the current virtio_balloon driver does not have a suitable endian swap for the 'num_pages' field, although it does have one for the 'actual' field. This patch corrects the bug, adding sparse annotation while we're at it. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions