On 04/26/2012 05:19 AM, Alexander Graf wrote: > + asm("mfmsr %0" : "=r"(msr)); Why not just mfmsr()? > + asm("bl 1f; 1: mflr %0" : "=r"(ip)); You'll want to tell the compiler that you're trashing LR. -Scott -- 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