Re: [asm-generic:compat-alloc-user-space-9 6/41] net/ethtool/ioctl.c:815:9: error: implicit declaration of function 'in_ia32_syscall'; did you mean 'in_compat_syscall'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 20, 2021 at 7:19 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> On Wed, May 19, 2021 at 10:33:08PM +0200, Arnd Bergmann wrote:
> >  static bool ethtool_translate_compat(void)
> >  {
> > -#ifdef CONFIG_X86_64
> > +#if defined(CONFIG_X86_64) && !defined(CONFIG_UML)
> >         /* On x86, translation is needed for i386 but not x32 */
> >         return in_ia32_syscall();
> >  #else
>
> Please just use compat_need_64bit_alignment_fixup() instead.

Ah perfect, thanks for adding that interface.

       Arnd



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux