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