From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936008AbdCXNVt (ORCPT ); Fri, 24 Mar 2017 09:21:49 -0400 Received: from terminus.zytor.com ([65.50.211.136]:57473 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935766AbdCXNVd (ORCPT ); Fri, 24 Mar 2017 09:21:33 -0400 Date: Fri, 24 Mar 2017 06:19:12 -0700 From: tip-bot for Arnd Bergmann Message-ID: Cc: mingo@kernel.org, khuey@kylehuey.com, hpa@zytor.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, arnd@arndb.de Reply-To: tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, arnd@arndb.de, khuey@kylehuey.com, mingo@kernel.org In-Reply-To: <20170323151904.706286-1-arnd@arndb.de> References: <20170323151904.706286-1-arnd@arndb.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/process] x86/syscalls/32: Ignore arch_prctl for other architectures Git-Commit-ID: f3e4559781bf0c393364baa6b772233088a711db X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: f3e4559781bf0c393364baa6b772233088a711db Gitweb: http://git.kernel.org/tip/f3e4559781bf0c393364baa6b772233088a711db Author: Arnd Bergmann AuthorDate: Thu, 23 Mar 2017 16:18:51 +0100 Committer: Thomas Gleixner CommitDate: Fri, 24 Mar 2017 14:13:55 +0100 x86/syscalls/32: Ignore arch_prctl for other architectures sys_arch_prctl is only provided on x86, and there is no reason to add it elsewhere. However, including it on the 32-bit syscall table caused a warning for most configurations on non-x86: :1328:2: warning: #warning syscall arch_prctl not implemented [-Wcpp] This adds an exception to the syscall table checking script. Fixes: 79170fda313e ("x86/syscalls/32: Wire up arch_prctl on x86-32") Signed-off-by: Arnd Bergmann Cc: Kyle Huey Link: http://lkml.kernel.org/r/20170323151904.706286-1-arnd@arndb.de Signed-off-by: Thomas Gleixner --- scripts/checksyscalls.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index 2c9082b..116b773 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -148,6 +148,7 @@ cat << EOF #define __IGNORE_sysfs #define __IGNORE_uselib #define __IGNORE__sysctl +#define __IGNORE_arch_prctl /* ... including the "new" 32-bit uid syscalls */ #define __IGNORE_lchown32