From patchwork Sat May 24 07:02:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 30866 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7E1FC20676 for ; Sat, 24 May 2014 07:03:05 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id tp5sf28740544ieb.1 for ; Sat, 24 May 2014 00:03:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:to:to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=wKZLgy33O9o6M4f5nck14nsJV1ACq/BS/J+O6FSrWuw=; b=KZSD0bxLlfpHNjip/asGzYHG8PxxE3ztnGMaatB9QXlBZEDFD+FuXQ70UtCgp3xaDR OIGrpslH6J4Y1rY56i0Nqjw79jYDxo7sfhaL10njGg07+2fXgyHMHkNLODgV1fOe2n3P aonKh/BUVQO/WR5EX6t4AQOK8DvKN5MUiF3YbYHsHe/vJlnDX06Q14/OH5zghUjkgk+P 1vsHQSvhWbdLpn2btZErqOtz1+M/2e4U7L8veLCagiVrVy31tm0YK6FlILzxe9EjGO3S RcKFD1Eolqrwt4VHvDxe0wie/yUzMJ2fjiDUBYhi41gdLg1gMA/AbJcBkePBZTb3CVH3 GAMA== X-Gm-Message-State: ALoCoQmMQxY3MkJ6+8e6J0siO5Cs0LLf8WfaMv0y11Ro5rsPhygBtcuCq+KoUhZzun/nJUK8Wb0r X-Received: by 10.50.111.15 with SMTP id ie15mr3958654igb.2.1400914984989; Sat, 24 May 2014 00:03:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.37.164 with SMTP id r33ls2133744qgr.2.gmail; Sat, 24 May 2014 00:03:04 -0700 (PDT) X-Received: by 10.221.34.7 with SMTP id sq7mr8532307vcb.5.1400914984905; Sat, 24 May 2014 00:03:04 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id mg9si3064530vcb.58.2014.05.24.00.03.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 May 2014 00:03:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so7299225vcb.18 for ; Sat, 24 May 2014 00:03:04 -0700 (PDT) X-Received: by 10.220.163.3 with SMTP id y3mr8550857vcx.7.1400914984828; Sat, 24 May 2014 00:03:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp87368vcb; Sat, 24 May 2014 00:03:04 -0700 (PDT) X-Received: by 10.68.78.66 with SMTP id z2mr12079981pbw.71.1400914984095; Sat, 24 May 2014 00:03:04 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bi10si6946660pad.76.2014.05.24.00.03.03 for ; Sat, 24 May 2014 00:03:03 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751539AbaEXHC5 (ORCPT + 27 others); Sat, 24 May 2014 03:02:57 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:53491 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751427AbaEXHC1 (ORCPT ); Sat, 24 May 2014 03:02:27 -0400 Received: by mail-ie0-f177.google.com with SMTP id y20so5903177ier.22 for ; Sat, 24 May 2014 00:02:26 -0700 (PDT) X-Received: by 10.50.92.42 with SMTP id cj10mr10062974igb.34.1400914946231; Sat, 24 May 2014 00:02:26 -0700 (PDT) Received: from localhost.localdomain (64.2.3.195.ptr.us.xo.net. [64.2.3.195]) by mx.google.com with ESMTPSA id d10sm10007438igc.8.2014.05.24.00.02.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 00:02:25 -0700 (PDT) Received: from localhost.localdomain (apinskidesktop [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4O72Nlp009828 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 24 May 2014 00:02:23 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s4O72Nh5009827; Sat, 24 May 2014 00:02:23 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andrew Pinski Subject: [PATCH 21/24] ARM64:ILP32: The native siginfo is used instead of the compat siginfo. Date: Sat, 24 May 2014 00:02:16 -0700 Message-Id: <1400914939-9708-22-git-send-email-apinski@cavium.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1400914939-9708-1-git-send-email-apinski@cavium.com> References: <1400914939-9708-1-git-send-email-apinski@cavium.com> To: linux-arm-kernel@lists.infradead.org To: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: apinski@cavium.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks. The same reasoning why we check AARCH32 as we did for COMPAT_USE_64BIT_TIME_T. Thanks, Andrew Pinski Signed-off-by: Andrew Pinski --- arch/arm64/include/asm/compat.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h index c77fc0f..aef8cd3 100644 --- a/arch/arm64/include/asm/compat.h +++ b/arch/arm64/include/asm/compat.h @@ -211,6 +211,9 @@ typedef struct compat_siginfo { } _sifields; } compat_siginfo_t; +/* ILP32 uses the native siginfo and not the compat struct */ +#define COMPAT_USE_NATIVE_SIGINFO !is_a32_compat_task() + #define COMPAT_OFF_T_MAX 0x7fffffff #define COMPAT_LOFF_T_MAX 0x7fffffffffffffffL