commit | 5d226ae56f4dee608099daa599d9df0d12e3b006 | [log] [tgz] |
---|---|---|
author | Chen Gang <gang.chen@asianux.com> | Mon Jul 22 14:32:35 2013 +0800 |
committer | Alexander Graf <agraf@suse.de> | Wed Aug 28 16:23:35 2013 +0200 |
tree | eca64013d43452c7ac6f32f371bf1d09420e78ee | |
parent | 87916442bd0ac0aaabcca4f7fcd7eb3d8bef0d34 [diff] |
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>