Messages in this thread | | | Subject | Re: [PATCH v3 2/5] x86/enter: Create macros to set/clear IBRS | From | Tim Chen <> | Date | Thu, 11 Jan 2018 13:05:32 -0800 |
| |
On 01/11/2018 08:04 AM, Thomas Gleixner wrote: > On Tue, 9 Jan 2018, Tim Chen wrote: >> + >> +.macro WRMSR_ASM msr_nr:req edx_val:req eax_val:req >> + movl \msr_nr, %ecx >> + movl \edx_val, %edx >> + movl \eax_val, %eax >> +.endm > > This is the most brilliant piece of useless code I've seen in a long time. > > > tglx >
Sorry that was a major brain fart on my part.
Tim
| |