Re: [PATCH 2/5] x86: Move 32-bit compat syscalls to common location
From: Dominik Brodowski
Date: Fri Feb 21 2020 - 10:29:25 EST
On Fri, Feb 21, 2020 at 08:41:23AM -0500, Brian Gerst wrote:
> On Fri, Feb 21, 2020 at 2:07 AM Dominik Brodowski
> <linux@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Fri, Feb 21, 2020 at 12:09:31AM -0500, Brian Gerst wrote:
> > > --- a/arch/x86/kernel/Makefile
> > > +++ b/arch/x86/kernel/Makefile
> > > @@ -57,6 +57,8 @@ obj-y += setup.o x86_init.o i8259.o irqinit.o
> > > obj-$(CONFIG_JUMP_LABEL) += jump_label.o
> > > obj-$(CONFIG_IRQ_WORK) += irq_work.o
> > > obj-y += probe_roms.o
> > > +obj-$(CONFIG_X86_32) += sys_ia32.o
> > > +obj-$(CONFIG_IA32_EMULATION) += sys_ia32.o
> >
> > That doesn't look nicely...
>
> Do you have a better suggestion? That's similar to how tls.o is
> already handled.
Besides modifying Kconfig? No, unfortunately not.
Thanks,
Dominik