Re: [RFC PATCH 4/4] x86/TSC: Use RDTSCP

Borislav Petkov
2018-12-12T00:06:29Z

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.