Messages in this thread | | | Date | Fri, 3 Apr 2015 14:05:17 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86/asm/entry/64: Fix MSR_IA32_SYSENTER_CS MSR value |
| |
On Fri, Apr 03, 2015 at 01:52:00PM +0200, Denys Vlasenko wrote: > Why? Segment selectors aren't "long long", they are in fact "short" > (16-bit ints). > > The "ULL" is used here in wrmsrl not because it's a segment, > but because wrmsrl expects a u64 parameter. > > We can probably add a cast in its definition...
Yeah, I meant to not use the naked 0. Cast should be fine.
Let me do a patch.
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply. --
| |