Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755199AbbKQVWP (ORCPT ); Tue, 17 Nov 2015 16:22:15 -0500 Received: from mail-by2on0073.outbound.protection.outlook.com ([207.46.100.73]:20521 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754803AbbKQVWJ (ORCPT ); Tue, 17 Nov 2015 16:22:09 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; From: Yury Norov To: , , , CC: , , , , , , , , , , , , , , Yury Norov Subject: [PATCH v6 17/19] arm64:ilp32: use the native siginfo instead of the compat siginfo Date: Wed, 18 Nov 2015 00:16:57 +0300 Message-ID: <1447795019-30176-18-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> References: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [95.143.213.120] X-ClientProxiedBy: AM3PR01CA044.eurprd01.prod.exchangelabs.com (10.141.191.34) To DM2PR07MB624.namprd07.prod.outlook.com (10.141.177.154) X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB624;2:JfqAmVjQsCxo+Jj3vecVVvAxy6Xn29r19OXfPqafEMgnodDHZ2kW1py8ILS0yBKMOpGxxozgquTSVFFIOBy6Qsf20aQtnuYesD8MghIsKcG0PNwQwsO2BMTPZrP0DecCfD5rUw23130V8PeVXf3IgqkO+JQBuXunDVbyuT+D2gk=;3:WvlAL58svN7RNKBBO9Xt1v8XXQqGk5dT0mK6hPBoVQgppxsDxqVlc4Yge3v+rL4THkJrjWHow2U2euYk9/kpXQ/dffVePQQfuLJPNPnQKa9JxywCW59BlhJNfC+4bjliRv9YX55/pk4HpiM9X1cK6w==;25:h1J5SVZzOTm5FVyNnUEZb4rQyoFh8zt3g+Pu/WA81uu9YXC0Swj8tEkoxMFzsUjfQWuTrdXS7w4C8UDugmQ8NQ7+jg/XkzTnBaL4nziMtwynHId84po85eziKReB/TPQKjPTFz23H33tCg0ATxgC9tK5PvsEF6R5gBQKn5L3+drrrY0JcFRmnhDtyDt/HoyhHCgeGjmfk/TNTcIgTZTql/ZKH83fwzsefXR2IkeVD/uRquMH4tseXKlqRuwnj7875kG1E4xtqrA0LBmlIDe47g== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB624; X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB624;20:/eIHtEbQLfAbt4MKoKlGuZF5ijNt5ojfTJdSerMx57LfmkCkgf84M1vjnvOKKIFBHJ6IE0ZWOP2bzS1V/KcasVZp2Wa8ED11OXrWZ4PCVKkaToi1Me8tOCRx3WL1KmJ9DADTdifkm7jpHhj/+iUXVCWCAmYRFuDqkRbav5rtloPbGM81JV85i+c/cOJqVacij+nKE5jf7jOCrGTr4KP2ppkrLRGrfgBgQesMjUSncxlgrkhDQJ+rKVHo7tai0KeKmquenUBkJDsT/jp7RMFE1DGnjNM+YILwtVrFQZEpoqX8xzRALQ8kCj9M5gukhDs4DE1yyTxPUL+xqRk4S4iufpqyEiF08mfO+INfOaraICKoxZbSNL45rS9/qqzwqSqbeIPirh2sr3nLjYdUgjYeOtQq8iwpyTtHhDrdOejO/Ef1PPGLFo5J+Y6pfS9E4JHlQKrTKdxkZ/sBPgZNYfmE0OG9qfzNJnqHA34/i+pI+hV419NBQj5RguMsZ00nQZSGoLjXfr9ShUoR8hErlV9b9QzXnyZyybVRPBfwTHzSh8tLcPnvwg5aYbpvqqM5hOpe8BwCNtHxApzGqRZlmFZrFn4qI5EqXvs8VbpzXXZbbxY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001);SRVR:DM2PR07MB624;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB624; X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB624;4:1/X8ULMMwMkqcPfg9d8SFAHxZBnF2MnAMk+W0/wflWBG1BvtDilnQzRoQxjSJd43ojGgIQjmBKO+PM6X7w42Os6k3FRJJ1tuTvLoCN12FgYZf0iBL+ICD3dcEGq+R6Uhe6Y6sLM0miOhPqlkDMZU6pmxODEHFPLrjxeX67WJgriRQRmQc6AlLEPXXRCn0mz3lLQfzZjbsGrlrT0tueJViZcXhj1QLaNj18+jI8QTd+ZkDsboJ6dbctBvLAHjiYXsS+FkBwHUfbh4/0ofFq2tYu1aF0aN3Kw2epTNx4+Rg4v9CbzvSJsqEG11GwWN3KvoxIG1+3TcclgaDnMMEAqqtIgYdZoZDq0688qDAnXBcB/cu4qakqalTRDg3ZVHzVGB X-Forefront-PRVS: 07630F72AD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(6009001)(189002)(199003)(2201001)(50466002)(229853001)(5007970100001)(5001770100001)(33646002)(106356001)(92566002)(36756003)(19580405001)(19580395003)(586003)(77096005)(4001430100002)(105586002)(47776003)(50226001)(2950100001)(76176999)(101416001)(5008740100001)(50986999)(5003940100001)(48376002)(66066001)(107886002)(189998001)(5004730100002)(42186005)(81156007)(87976001)(5001960100002)(40100003)(97736004)(122386002)(76506005)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR07MB624;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM2PR07MB624;23:6h0ayA3OoInF06OSt5Zv256uClxmv0R3EZ9nf8S2Ea?= =?us-ascii?Q?GeC3LlfYUGnc0KB/IzQ0Xz3UVt74HQMiMwDXcxyzM/mVYBbbOaTAVu6cfcCn?= =?us-ascii?Q?u5bUaFZDXzwvpkUdxxj0QqLcvP5Fm6GQqtbRbJ+iPdC2P/Sv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VWjuFqxd/aX9scEPy7VDPVlKtPzVachlXWptfrx0YA1AP3ac?= =?us-ascii?Q?8zWiCa6o4rq1RasUB+34+NYNMqChY6V2QNvwUdsB7KkP3soao0vJN+afEMAg?= =?us-ascii?Q?2pZliTwY4=3D?= X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB624;5:yxCO/lQPzLn/6rc40WvycQC7LUdoFypriHkArZW8R56OkWtdfupzKLM3mnYvdz5eWzW2AjvllN6UjUopUtrwcyVqJXAwyQb5Hxz95P+bSESo7uncWtgih4P72xrw0y8yIsS9DZYP1u/1qOoiYCUlDg==;24:ucPPvT+EAGhTIHNY7mrAZGvPNxPDIq5+SO1xUxaTb1QnhjKXCAbA1Rrdbe5ldryqmbQeBikwZbZBsKHZNbkz56ISux2kwbnzgb7g7xokb/I=;20:6tPB+ca794ndPWU4/WjTxbMUMSgocpaWL//mtzQztaTTeka/NsyGhKS+0YgjtfM19dUF703Mcx056m2mBIj1hw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2015 21:22:08.4115 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB624 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1245 Lines: 36 From: Andrew Pinski Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks. Reviewed-by: David Daney Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov Signed-off-by: Andrew Pinski --- 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/