Re: [PATCH 4/5] s390: autogenerate compat syscall wrappers

From: Arnd Bergmann
Date: Thu Jan 17 2019 - 11:24:04 EST


On Thu, Jan 17, 2019 at 2:31 PM Heiko Carstens
<heiko.carstens@xxxxxxxxxx> wrote:
>
> The patch below is needed as compile fix (allnoconfig).
> I will add this to your patch, no resend needed.

Ok, good catch! This is obviously the right fix.

Arnd

> diff --git a/arch/s390/include/asm/syscall_wrapper.h b/arch/s390/include/asm/syscall_wrapper.h
> index 27ebe871692f..873e7a7794b3 100644
> --- a/arch/s390/include/asm/syscall_wrapper.h
> +++ b/arch/s390/include/asm/syscall_wrapper.h
> @@ -106,11 +106,10 @@
> asmlinkage long __s390x_sys_##sname(void)
>
> #define COND_SYSCALL(name) \
> - cond_syscall(__s390x_sys_##name) \
> - cond_syscall(__s390_sys_##name)
> + cond_syscall(__s390x_sys_##name)
>
> #define SYS_NI(name) \
> - SYSCALL_ALIAS(__s390_sys_##name, sys_ni_posix_timers);
> + SYSCALL_ALIAS(__s390x_sys_##name, sys_ni_posix_timers);
>
> #endif /* CONFIG_COMPAT */
>
>