diff options
author | 2013-07-22 14:32:35 +0800 | |
---|---|---|
committer | 2013-08-28 16:23:35 +0200 | |
commit | 5d226ae56f4dee608099daa599d9df0d12e3b006 (patch) | |
tree | eca64013d43452c7ac6f32f371bf1d09420e78ee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/kvm: Copy the pvr value after memset (diff) | |
download | linux-dev-5d226ae56f4dee608099daa599d9df0d12e3b006.tar.xz linux-dev-5d226ae56f4dee608099daa599d9df0d12e3b006.zip |
arch: powerpc: kvm: add signed type cast for comparation
'rmls' is 'unsigned long', lpcr_rmls() will return negative number when
failure occurs, so it need a type cast for comparing.
'lpid' is 'unsigned long', kvmppc_alloc_lpid() return negative number
when failure occurs, so it need a type cast for comparing.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions