On 26.04.2012, at 23:54, Scott Wood wrote:
> On 04/26/2012 05:19 AM, Alexander Graf wrote:
>> + asm("mfmsr %0" : "=r"(msr));
>
> Why not just mfmsr()?
Good question :).
>
>> + asm("bl 1f; 1: mflr %0" : "=r"(ip));
>
> You'll want to tell the compiler that you're trashing LR.
Yikes. Yeah.
Keep in mind that this is a 1:1 copy from the booke code (read: I should merge those 2). So it's just as broken there.
Alex
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[KVM ARM]
[KVM ia64]
[KVM ppc]
[Spice Development]
[Libvirt]
[Libvirt Users]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Linux Kernel]
[Linux SCSI]
[XFree86]