diff options
author | Alvise Rigo <a.rigo@virtualopensystems.com> | 2013-10-11 19:38:45 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2013-10-31 14:00:16 +0100 |
commit | 0bc2a331e476c6c834278b8dcc17408a3f0d8f6a (patch) | |
tree | c7ba9d79a1e231b96e654ce5458cdfbcb50cdc19 /balloon.c | |
parent | cbf239b76934c8c2d1e147372ef9478ecc39fdfb (diff) | |
download | hqemu-0bc2a331e476c6c834278b8dcc17408a3f0d8f6a.zip hqemu-0bc2a331e476c6c834278b8dcc17408a3f0d8f6a.tar.gz |
target-arm: fix sorting issue of KVM cpreg list
The compare_u64 function was not sorting the KVM cpreg_list in the
right way due to the wrong returned value. Since we are comparing
two 64bit values we can't simply return their difference if the
returned type is int.
Signed-off-by: Alvise Rigo <a.rigo@virtualopensystems.com>
Message-id: 1381513125-26802-2-git-send-email-a.rigo@virtualopensystems.com
[PMM: fixed coding style, indent and commit message formatting]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'balloon.c')
0 files changed, 0 insertions, 0 deletions