Re: [RFC PATCH 4/4] x86/TSC: Use RDTSCP
From: Borislav Petkov
Date: Tue Dec 11 2018 - 19:06:29 EST
On Wed, Dec 12, 2018 at 12:43:08AM +0100, Borislav Petkov wrote:
> > And other code in this file uses "c" for clobber.
>
> Ok.
Except that clobbers need to be full register names:
./arch/x86/include/asm/msr.h: In function âdo_hresâ:
./arch/x86/include/asm/msr.h:236:2: error: unknown register name âcâ in âasmâ
asm volatile(ALTERNATIVE_3("rdtsc",
^~~
...
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.