target-arm: sort TCG cpreg list by KVM-style 64 bit ID number
Both KVM and TCG populate the cpreg_list with 64 bit register IDs,
but in the TCG side the cpreg_list is sorted using the 32 bit ID
version while in the kvm side the 64 bit ID version is used. This
patch makes the sorting of the cpreg_list consistent between KVM and
TCG.
Signed-off-by: Alvise Rigo <[email protected]>
Message-id:
1381513125[email protected]
[PMM: fixed indent, coding style and commit message formatting]
Signed-off-by: Peter Maydell <[email protected]>