Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757413Ab1FUTKV (ORCPT ); Tue, 21 Jun 2011 15:10:21 -0400 Received: from mail127.messagelabs.com ([216.82.250.115]:45008 "EHLO mail127.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757224Ab1FUTKT (ORCPT ); Tue, 21 Jun 2011 15:10:19 -0400 X-VirusChecked: Checked X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-11.tower-127.messagelabs.com!1308683405!23160978!28 X-StarScan-Version: 6.2.17; banners=-,-,- X-Originating-IP: [216.166.12.99] From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] ARM: quiet sparse noise due to __ARCH_WANT_SYS_RT_SIG(ACTION|SUSPEND) Date: Tue, 21 Jun 2011 12:09:45 -0700 User-Agent: KMail/1.9.9 CC: ARM Kernel , Russell King , , , , MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201106211209.46462.hartleys@visionengravers.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1635 Lines: 49 ARM defines __ARCH_WANT_SYS_RT_SIG(ACTION|SUSPEND) which produces the following sparse warnings in kernel/signal.c: warning: symbol 'sys_rt_sigaction' was not declared. Should it be static? warning: symbol 'sys_rt_sigsuspend' was not declared. Should it be static? Since ARM doesn't include , due to different calling conventions for some system calls, prototype the functions in to quiet the noise. Signed-off-by: H Hartley Sweeten Cc: Russell King Cc: Mikael Pettersson Cc: "Eric W. Biederman" Cc: Mike Frysinger Cc: Tony Luck --- diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 2c04ed5..322c54e 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h @@ -467,6 +467,20 @@ #define __ARCH_WANT_SYS_SOCKETCALL #endif +#ifndef __ASSEMBLY__ + +#include +#include +#include +#include + +asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act, + struct sigaction __user *oact, + size_t sigsetsize); +asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize); + +#endif /* !__ASSEMBLY__ */ + /* * "Conditional" syscalls * -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/