diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-08-24 12:25:44 +0200 | 
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-08-24 12:25:54 +0200 | 
| commit | 5f9ece02401116b29eb04396b99ea092acb75dd8 (patch) | |
| tree | e10386e2dc63c275646b4eb0bed857da7bf86c6a /arch/ia64/kvm/mmio.c | |
| parent | 9f51e24ee8b5a1595b6a5ac0c2be278a16488e75 (diff) | |
| parent | 422bef879e84104fee6dc68ded0e371dbeb5f88e (diff) | |
| download | olio-linux-3.10-5f9ece02401116b29eb04396b99ea092acb75dd8.tar.xz olio-linux-3.10-5f9ece02401116b29eb04396b99ea092acb75dd8.zip  | |
Merge commit 'v2.6.31-rc7' into x86/cleanups
Merge reason: we were on -rc1 before - go up to -rc7
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/ia64/kvm/mmio.c')
| -rw-r--r-- | arch/ia64/kvm/mmio.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ia64/kvm/mmio.c b/arch/ia64/kvm/mmio.c index 21f63fffc37..9bf55afd08d 100644 --- a/arch/ia64/kvm/mmio.c +++ b/arch/ia64/kvm/mmio.c @@ -247,7 +247,8 @@ void emulate_io_inst(struct kvm_vcpu *vcpu, u64 padr, u64 ma)  		vcpu_get_fpreg(vcpu, inst.M9.f2, &v);  		/* Write high word. FIXME: this is a kludge!  */  		v.u.bits[1] &= 0x3ffff; -		mmio_access(vcpu, padr + 8, &v.u.bits[1], 8, ma, IOREQ_WRITE); +		mmio_access(vcpu, padr + 8, (u64 *)&v.u.bits[1], 8, +			    ma, IOREQ_WRITE);  		data = v.u.bits[0];  		size = 3;  	} else if (inst.M10.major == 7 && inst.M10.x6 == 0x3B) { @@ -265,7 +266,8 @@ void emulate_io_inst(struct kvm_vcpu *vcpu, u64 padr, u64 ma)  		/* Write high word.FIXME: this is a kludge!  */  		v.u.bits[1] &= 0x3ffff; -		mmio_access(vcpu, padr + 8, &v.u.bits[1], 8, ma, IOREQ_WRITE); +		mmio_access(vcpu, padr + 8, (u64 *)&v.u.bits[1], +			    8, ma, IOREQ_WRITE);  		data = v.u.bits[0];  		size = 3;  	} else if (inst.M10.major == 7 && inst.M10.x6 == 0x31) {  |