Messages in this thread | | | From | Brian Gerst <> | Date | Fri, 7 Oct 2022 11:40:41 -0400 | Subject | Re: [PATCH 5/6] x86/gsseg: move load_gs_index() to its own header file |
| |
On Thu, Oct 6, 2022 at 12:13 PM Xin Li <xin3.li@intel.com> wrote: > > From: "H. Peter Anvin (Intel)" <hpa@zytor.com> > > <asm/cpufeature.h> depends on <asm/special_insns.h>, so in order to be > able to use alternatives in native_load_gs_index(), factor it out into > a separate header file. > > Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> > Signed-off-by: Xin Li <xin3.li@intel.com>
This could be moved into <asm/segment.h> instead of creating a new header file.
-- Brian Gerst
| |