On 09/25/2014 04:00 PM, Chuck Ebbert wrote:
> #include <stdio.h>
> #include <unistd.h>
> 
> int main()
> {
>       asm volatile("pushfq           \n\t" \
>                    "pop %rax         \n\t" \
>                    "or $0x4000,%rax  \n\t" \
>                    "push %rax        \n\t" \
>                    "popfq            \n\t");

You're missing clobbers here.  But fixing that has no effect.

>       sleep(1);
> 
>       return 0;
> }

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to