Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932778AbYCFPPb (ORCPT ); Thu, 6 Mar 2008 10:15:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759747AbYCFPPF (ORCPT ); Thu, 6 Mar 2008 10:15:05 -0500 Received: from fg-out-1718.google.com ([72.14.220.155]:37202 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763699AbYCFPOw (ORCPT ); Thu, 6 Mar 2008 10:14:52 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=BEN3M1mbbCurX0TlHbhpTMSaJwfpW43QPJFIYPG4tZ6sw4ROZwHjzg8KuZAlyOt7nZ9/ewhPCPx1KYLjAzvrvZZvsp0vaxkpGIjIYxBHk8ramC1HMfyq8RP4NPu+wMqorcxtHPhITmIvQOJHe8x1AseN0ozWt5XHyCiqWNa0W8w= Message-ID: Date: Thu, 6 Mar 2008 23:14:50 +0800 From: "ye janboe" To: linux-arm-kernel@lists.arm.linux.org.uk Subject: [PATCH] fix signal return code when enable CONFIG_OABI_COMPAT Cc: linux@arm.linux.org.uk, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 31 commit b4e8bde513a9a477c30c8769073ced7b59676d48 Author: janboe Date: Thu Mar 6 23:00:23 2008 +0800 fix signal return code when enable CONFIG_OABI_COMPAT. because this will make kernel report this syscall obsolete. Signed-off-by: Janboe Ye diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c index 54cdf1a..b863255 100644 --- a/arch/arm/kernel/signal.c +++ b/arch/arm/kernel/signal.c @@ -26,8 +26,13 @@ /* * For ARM syscalls, we encode the syscall number into the instruction. */ +#ifndef CONFIG_AEABI #define SWI_SYS_SIGRETURN (0xef000000|(__NR_sigreturn)) #define SWI_SYS_RT_SIGRETURN (0xef000000|(__NR_rt_sigreturn)) +#else +#define SWI_SYS_SIGRETURN (0xef000000) +#define SWI_SYS_RT_SIGRETURN (0xef000000) +#endif /* * With EABI, the syscall number has to be loaded into r7. -- 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/