From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754766AbcDAMfZ (ORCPT ); Fri, 1 Apr 2016 08:35:25 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38309 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753105AbcDAMfY (ORCPT ); Fri, 1 Apr 2016 08:35:24 -0400 From: Sudip Mukherjee To: Martin Schwidefsky , Heiko Carstens Cc: linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org, linux-s390@vger.kernel.org, Sudip Mukherjee , Matt Redfearn Subject: [PATCH] s390: fix build failure Date: Fri, 1 Apr 2016 13:35:16 +0100 Message-Id: <1459514116-24505-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org s390 defconfig and allmodconfig fails with the error: kernel/seccomp.c: In function '__secure_computing_strict': kernel/seccomp.c:526:3: error: implicit declaration of function 'get_compat_mode1_syscalls' The retrieval of compat syscall numbers were moved into inline function defined in asm-generic header but the asm-generic header was not being used by s390. Fixes: 5adddb612ca1 ("seccomp: Get compat syscalls from asm-generic header") Cc: Matt Redfearn Signed-off-by: Sudip Mukherjee --- Tested with s390 defconfig and allmodconfig build. Build logs of next-20160401 are at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/119983952 (allmodconfig) and https://travis-ci.org/sudipm-mukherjee/parport/jobs/119983909 (defconfig) arch/s390/include/asm/seccomp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/s390/include/asm/seccomp.h b/arch/s390/include/asm/seccomp.h index 781a9cf..e10f833 100644 --- a/arch/s390/include/asm/seccomp.h +++ b/arch/s390/include/asm/seccomp.h @@ -13,4 +13,6 @@ #define __NR_seccomp_exit_32 __NR_exit #define __NR_seccomp_sigreturn_32 __NR_sigreturn +#include + #endif /* _ASM_S390_SECCOMP_H */ -- 2.1.4