From patchwork Wed Sep 3 21:19:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 36657 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3F012202E4 for ; Wed, 3 Sep 2014 21:23:41 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id et14sf87318912pad.10 for ; Wed, 03 Sep 2014 14:23:40 -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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=D9mVDVHfkH9osiggo0XrwQjU/OKWe30DHTgL7ug3O5s=; b=izx7yL7QI4qv4muZudKT6/BhBGo1A1FybW89+8om4J7LypyEcO9t2hj8oEMcHUYQK5 iro6kBeO3TuNovD4B+yNUC9x5xpFskL0UhUXYZvv29NreNbc4FuXS8GAqb8aAqHq+SOD 4ssq0JJnc3SOHYj5Dy736LjSTYM0oDP4FRkg/FEbApTegGWPYqLGw4xTqm6D/bu9Do26 K1fYGzcb1CPbwsKhpQ/k1bgT1WGbtanYz66cYdEefSLdR7tHV5JobQ5QAB2XyP9JSdnW Fy6Vz/Xsj8du8X2SS6Z5gvENnwjTVO6bOaPmXWc2FFhsgI02j52Kon1YuM6z89LFcH3S 4rSg== X-Gm-Message-State: ALoCoQmJoqoDzXh2mSCwCGu/U46Ulle+5CNCUS78ndq7eeo6w76V+3I/0LNihDeOYNNsAl97uZog X-Received: by 10.66.248.232 with SMTP id yp8mr91387pac.22.1409779420573; Wed, 03 Sep 2014 14:23:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.99 with SMTP id k90ls8110qgk.78.gmail; Wed, 03 Sep 2014 14:23:40 -0700 (PDT) X-Received: by 10.52.27.16 with SMTP id p16mr89557vdg.14.1409779420450; Wed, 03 Sep 2014 14:23:40 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id 20si4462832vcd.22.2014.09.03.14.23.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Sep 2014 14:23:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id im17so9821723vcb.27 for ; Wed, 03 Sep 2014 14:23:40 -0700 (PDT) X-Received: by 10.220.175.17 with SMTP id v17mr121015vcz.0.1409779420367; Wed, 03 Sep 2014 14:23:40 -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.221.45.67 with SMTP id uj3csp740449vcb; Wed, 3 Sep 2014 14:23:39 -0700 (PDT) X-Received: by 10.66.136.12 with SMTP id pw12mr449506pab.71.1409779419574; Wed, 03 Sep 2014 14:23:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kn11si13353918pbd.120.2014.09.03.14.23.38 for ; Wed, 03 Sep 2014 14:23:39 -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 S932753AbaICVXO (ORCPT + 26 others); Wed, 3 Sep 2014 17:23:14 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:56897 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932635AbaICVXH (ORCPT ); Wed, 3 Sep 2014 17:23:07 -0400 Received: by mail-ig0-f180.google.com with SMTP id hn18so9904967igb.7 for ; Wed, 03 Sep 2014 14:23:06 -0700 (PDT) X-Received: by 10.50.111.80 with SMTP id ig16mr362084igb.43.1409779386915; Wed, 03 Sep 2014 14:23:06 -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 ig9sm6515653igb.13.2014.09.03.14.23.06 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Sep 2014 14:23:06 -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 s83LJPXv031091 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 3 Sep 2014 14:19:25 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s83LJPpE031090; Wed, 3 Sep 2014 14:19:25 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pinskia@gmail.com Cc: Andrew Pinski Subject: [PATCH 20/24] ARM64:ILP32: The native siginfo is used instead of the compat siginfo Date: Wed, 3 Sep 2014 14:19:14 -0700 Message-Id: <1409779158-30963-21-git-send-email-apinski@cavium.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1409779158-30963-1-git-send-email-apinski@cavium.com> References: <1409779158-30963-1-git-send-email-apinski@cavium.com> 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.182 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. 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 2f84d2c..87cb50d 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