Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754456AbbKBXe2 (ORCPT ); Mon, 2 Nov 2015 18:34:28 -0500 Received: from mail-bl2on0089.outbound.protection.outlook.com ([65.55.169.89]:50720 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753005AbbKBXeY (ORCPT ); Mon, 2 Nov 2015 18:34:24 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; From: Yury Norov To: , , , CC: , , , , , , , , , , , , Andrew Pinski , Yury Norov , Andrew Pinski Subject: [PATCH v6 15/17] arm64:ilp32: use the native siginfo instead of the compat siginfo Date: Tue, 3 Nov 2015 02:30:44 +0300 Message-ID: <1446507046-24604-16-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> References: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [109.252.143.100] X-ClientProxiedBy: DB5PR03CA0022.eurprd03.prod.outlook.com (25.162.150.32) To CO2PR07MB620.namprd07.prod.outlook.com (10.141.228.156) X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB620;2:zKjLD7LWAUX6flpjWNupW+4jxDaSZG+6ATzbpSMAOQgRBJGnTYlryOQCqkAzxIPTGoy+mlcv5ULSiMPIn1tQN7Bdbp0FTOdhL7H1nIjpr5sU3fCnwyTgL6gkfR6lnMh4SEVgFVDgtCX0MQniuHKe4zuAWzGZCJbjQc9hz8lI1Zk=;3:uhRaSgK8pU5qK3wRZEUzTiObwAyRTNycKLSo5KeesuUl5bYM9bnwPmLfXoPUtNWaBNNRcmwFAteOGEfSWHSlTBCSr7nxxLwSQnhECKKiplyvhDEwI42+pWkrWZ8HyNDH+55xVUNNPGe7zamgdKCLDA==;25:t/3L1u8qduR/UlI9IfgOUP7Z29k5egDl5pWPcaku2Fd9+vplEOIm5eE6ZuB22viSddUELd+gLrGV13GaBL2YXYwYC1/KgbNU6JcNYffQcTt4/3B7rBD3RDw6w2rJibRAD3NXAASMPeJWTBAUn0T8EKqjzb8grc5YL6aPnqCb3liB/mrWzrwO7DP4hSyRIFeHilzYzAFfgtd/jNJfYDMusi9xPposmf6HOE8ZcjyO5ToXOXukXefSYZy0An+fzIydZIFF9/7ouCmVcyaQ1czGSg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB620; X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB620;20:aF6Cc3k0q5yapGuVBd1SAANQ55jfOe94uRSLPbmMqVsd+Y994XXd7uSqKAbssB7D5vWMdNgee6v9IukvIAjO4oAIiecu7YF23x6UUukPa5A6ZE9NrctSoZ1DeOO0nivJfub53/JlSQ7w8AFE9MlhA0AcuDrBSjw9N/PXs9JzQxn/fsaU+t3jc6jzk7BvZ9IkBEeWn0edD8MqofgmNZBJJxo/YalNROBzr3S0M1UAi3O0QokkgBEmLzD3PqzNUEkkO/gH574h21RKrZB3LMzEBi3NQb3pBRMnfX25epjXf0y3FsIaaHr2GZHAO29oqaUwyhc0OnyEQdWIEyFJh3maD3RIR6myiQnv5x0Bwq/8sRJilRcwk0vg79nLRx7KMy9MCfH8xFBGT0oQhtTLSnv8bs726zITTnKTCwT3qz64bEhf9XUhHbzOQrNIhiIz5wkZNEK+OjVTxSeMTmiEDI3RmVToVE8sD34nVepSJt4+redZP1WtBceUsNk5ul4sab/YLzIKuPOxLQ7q3pClQAZjhWN4WXQY/QEKmOizuApzyDcpr7b61R2ZXPCbTHieezbMZa0aI2H0kUaNvt59vP4lZRqt+1l/nqKc4fdjuRN7R8s= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046);SRVR:CO2PR07MB620;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB620; X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB620;4:tgtSuZpMpW1cdel1wb4FldFJ+2Fl4/LrTusz8NxkcNjGoTAdiVOeKD9jP3yO4TRQq2X5aEqCtaqXsrffr7ggJg4AWr37ywQLKjguVaQ52A8yx4e87OsgpOXROTEbGUWqnbbImnpDVccrC6SMVPa2TdVzE+hl5Nq+z2gPys7h1NrKRF7vSMp0QZGfh/fd8AN7fX5m0HylU3PoBYpGzVdQKMfb8xDanoLqlfZtsyRSiYZXpHEYdNMydriU2r14wxAM6h/QhB/+8w2Uj89a5zW2d5UXdVwlDbZ8dlQ2C+IROdk4xg/HrpDCy0wOqnQ8i11JlLpJbNluxPN1uFaFmyIq/erFmzIsHTsSyNruDIgDkiQR51GFTYNkA6kWKHi+wJZh X-Forefront-PRVS: 0748FF9A04 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(6009001)(189002)(199003)(66066001)(48376002)(50986999)(47776003)(5007970100001)(5004730100002)(5003940100001)(4001430100002)(40100003)(42186005)(101416001)(50466002)(76506005)(19580395003)(19580405001)(33646002)(76176999)(50226001)(105586002)(107886002)(106356001)(189998001)(5008740100001)(229853001)(122386002)(5001960100002)(2201001)(2950100001)(36756003)(87976001)(5001770100001)(81156007)(77096005)(92566002)(97736004)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR07MB620;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR07MB620;23:+WcjkBJDrFzJGc63Zc5umHtdmH/P46QoFEMuC7xOqV?= =?us-ascii?Q?kcgDnQM9B6iFjM1RF48mHqcJm9tMHgexgNd5s6YQqosptgo6Ve1JfnbVl/8n?= =?us-ascii?Q?PocIDXfPzFRFx7xX4WBh+9BqdLawpzTuRd594ocUE+HP/qhO7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hswXZOtHBHT8CSYxifxmfH0Lw3C4Yhm30?= =?us-ascii?Q?Am3x4IkjtrnZbEwtN4E3UWB7FILze12AukbtJev4e869Xakg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB620;5:4Gj1d65ocXqZRgvYvesaFl/DetFsLOV7rJ9JWi7pX1kD2UeanTummMaTUeoNfMG+q3+wVRkaXhwCcLowqOZhktYt3Hxm5LnU37eRvWfenXGubf3n+XzHE6nALmym9PNHB7LpBc1ypf27OHImOGQiCQ==;24:PodEUI9AYXOzB2wwOYRimfFD46jdBoL7Z+TiUknCqyFrzGFrsMA4Ht0NOnT9qOU/3EUEFTlneUolUwvb20lCyypUdnfhbXfPaTU2hLuiqVQ=;20:xG53SeN9UhYDddt/ZQOFXORLerFStgHv5h8vYhDdRKyRYCMVS/jnusH8TjzzXLXrtFWL7rInGVLRS2fxAgJJ4Q== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2015 23:34:22.1833 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB620 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1241 Lines: 35 From: Andrew Pinski Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks. Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov Signed-off-by: Andrew Pinski Reviewed-by: David Daney --- arch/arm64/include/asm/compat.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h index 95d2d72..087f21b 100644 --- a/arch/arm64/include/asm/compat.h +++ b/arch/arm64/include/asm/compat.h @@ -214,6 +214,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 -- 2.1.4 -- 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/