Message ID | 1443564860-31208-13-git-send-email-ynorov@caviumnetworks.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 735E99F39B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:28:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94AF22067D for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:28:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9000220678 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:28:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh3MX-000481-UO; Tue, 29 Sep 2015 22:27:05 +0000 Received: from mail-bl2on0063.outbound.protection.outlook.com ([65.55.169.63] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh3DO-0003UI-7I for linux-arm-kernel@lists.infradead.org; Tue, 29 Sep 2015 22:17:38 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (91.78.158.8) by BLUPR07MB612.namprd07.prod.outlook.com (10.141.207.27) with Microsoft SMTP Server (TLS) id 15.1.274.16; Tue, 29 Sep 2015 22:17:16 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <catalin.marinas@arm.com>, <arnd@arndb.de>, <agraf@suse.de>, <bamvor.zhangjian@huawei.com> Subject: [PATCH v5 12/23] arm64:ilp32: COMPAT_USE_64BIT_TIME is true for ILP32 tasks Date: Wed, 30 Sep 2015 01:14:09 +0300 Message-ID: <1443564860-31208-13-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> References: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [91.78.158.8] X-ClientProxiedBy: DB5PR02CA0032.eurprd02.prod.outlook.com (25.161.237.42) To BLUPR07MB612.namprd07.prod.outlook.com (10.141.207.27) X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB612; 2:TXHzoEILFA8M6PQdflcwItduaJcKw67q059zyzkPTPN/ZqcBfB82Oq1SfJ+SvBO1JgXDgA6nfV1mhZtCemVa1EFME53Em4z6+ftEuxK2KQAjgQSAo6ldxyMaYxH37vimiPEXDPcbcnUPUcVZqAXrmefhu5JiDp7qUp+1fUczyE8=; 3:voSKrbBl8L5tbFwfxxWx6DPuINGpA6ns53zQxoDO3WIP6Xj0ClSCOnJI3pN3cZPVFDLDAZmVq1NqxCo2RoWYFxhYJzvPwWC3Dw5rovD/yCAicnCoQw0/M/NIgaehRdvjy5R6/Yj8IQ+gnO8/M+G+Dg==; 25:MvFxGGTvLKpRfmJNqV/fbQb6Cz+ozwifNePzb5W4G5/Hy3KJbIeceZQhjnHIQllkFD+aGiUjhlQMbIG3MgoXAygiT+QVxNpQ909spFwdr18n9vf8mO3egxqSrVhG5tZj4dF5AojNq1pY5ZSzJ3j7rm6mBk1+qKUC0LYcyf0d2B2z6VwQOh3GPvbhfrmHJY+VqnPJ0khQmywKJ8yz7eNWHVRc+2HzKMG5gigd+iWYqqnLFkJueNNaEk7mvc861Wpe X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB612; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB612; 20:oxUL8YC/Fa5kcznIXKyqfixl+4z4KLBWIS/yTbIR/HdizDSioPN/MtobTLWN362Ld6NUWRUGLD0i8Pj2vs9GMy04svBzJh5ZFYh/0yb2pCj2+qmfgN0ubt50ROAXviJaqa7Zb5JheFnSVnxG5xp6If+zVWBJgtqFW44LO7lkHXEG1c6PE3vEaU0QiYIrUHO5zWcOb0loXKIKw8UC8q4bgz3qX0hiMmaae2EfwJpQlacRExWZfmtqlsb6OMWp4oifn0ZHFgQvYzZ584acsIIkqPH3FLhsq+qy8iBB3wSjSUmDwYfRLNsuWqCgVxzmCkI8igK0NXqR/+zQUn8gLyVn5Ax6uBjafWWT9pn9njR+apfwhCwawmap3239O1OFI31LOCvJ4XgINpbGTxCk65FzSnX7BIOXs1vbFy6XJpyyT94nCh2E8TDkmhzOOZ3DOvbyj6Ke8zl6f0z1H5eAEyl2hUXSKWy8Mn5QvOJLiyBF5IeRfXubv9RSbavrpvv1eEdpUkpPQvaQN5CyAyVmBXAYqrik0+Spw1nv8VXi0xeaetS10ky1hordT14FUhd/cpFZ4vO9ERzHXI1yjI+CMb8N5s6hcGHp7QBdNLeRU8rvxFE= X-Microsoft-Antispam-PRVS: <BLUPR07MB612BABC4D77F66694C01D76EE4E0@BLUPR07MB612.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001); SRVR:BLUPR07MB612; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB612; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB612; 4:zkl4yJwAA0gLClYFNyB7efJ9EZotm2osUDwxfS0JePZz6NPsdli/mEKxpsHTE8a54IrQnlQfJ6Uw2voAaP04EaFbD0dFDmzBUhGDerhV4dFXcIvC0JrVs48tOkz8VQ6fc5scwBlbFYs93n+V87DoMYxW/8M3zVXZg2ejbaOQJ+VmiINl2vxfd6xJw66GRtP2nH249D0Q1izMRyDhmoOtJV0A4c/kNQPfzrMrRrci3hGnszJSM6SDWdpcwl2ImuQeI6S/aOLRuXFgFR34axt32fgStxJTrp8AumoJYaYEKYDFjFRn7QdfqaQ92Xk59Tmrn8y+/4rTj7QYBBUDmEud4V64+BPYk1T3mAEBhEufa1U= X-Forefront-PRVS: 0714841678 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(189002)(199003)(105586002)(68736005)(122386002)(2950100001)(46102003)(66066001)(64706001)(36756003)(77096005)(47776003)(15975445007)(101416001)(5007970100001)(19580395003)(5008740100001)(42186005)(19580405001)(50226001)(97736004)(2201001)(5004730100002)(107886002)(106356001)(48376002)(229853001)(5003940100001)(50466002)(92566002)(81156007)(50986999)(5001770100001)(5001830100001)(189998001)(40100003)(76176999)(33646002)(62966003)(77156002)(5001960100002)(4001540100001)(76506005)(87976001)(5001860100001)(2101003)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB612; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR07MB612; 23:c+30EeunbmLLJFVezJLaJHuriQucaqksnM8D4Jq0UC?= =?us-ascii?Q?aFNISjazkfRmjSKV0yaUQGeInU0uLE/vzrQwCqDT+OiW/ceFP2lJV9WMO18b?= =?us-ascii?Q?RO+7IfKwKg7oMTmRb4KTxLtNdDOuFeQZRUZ/VBzYf+ZsRCW9bK/80qVazRBL?= =?us-ascii?Q?CnI5AcJgP4PZWbh7COT8NgBHiTS1290Z4ovsHzZ6VkotKX1hdM+YEyvDLf+4?= =?us-ascii?Q?SVUPz7Q5ndybLauQwM7oMjUQQxT8s3wuZFXKbRRoFMj+aM6ep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qn8sJr13Gas8cpOiomUY/S/oQB7V4eDcqow+?= =?us-ascii?Q?Nzax5b0L+yuahcweFnuTgFqUIizAD2ZSkZWzLfyhasXesuK3l9hVJhHyW9wW?= =?us-ascii?Q?DFOaI8ntKVDBWZPO9r/VhynPZi1DqNPu0pI1Kx4Cr2gV+uI1J5KBqSXACBL9?= =?us-ascii?Q?TcC18Pg+y1pm638oQDCsFDfv+HAnt2t7U+fxmNAOAP?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB612; 5:/PeDHEEKSW45JLg1K6e0XWn1xJXfXAzAFAJyijKtmXANDPRaaqPE/6v3d0GvBvQvzIb9fcvHbd2P8WFiDNpMgqs3bVaXO6LY27Gcev4Qh2BVI+rRZ0IdSTeFmbcfPfkXIj7Ayqb8Xu8KGOOQFyvJ9g==; 24:LX6I4oeDJZ1QxJSmOeXfLoF61NCfylWZ7YPMA1k4pIjC4naqNjz0gkmHB8GVGtqb7d1Uw4Hj1IfXUVekvrcLUHQSTenJt6DDv6TGXEGsBxw=; 20:scBqbUbqjBRkIKeXBtrZwGIlOMdcs5xkLi/ljyjbMBlw/SmobTpxVCpNilRLrufjBfZQwzxpnRdImA3lWKZiAA== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2015 22:17:16.1393 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB612 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150929_151738_542001_551154E4 X-CRM114-Status: UNSURE ( 8.00 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: yury.norov@gmail.com, klimov.linux@gmail.com, Yury Norov <ynorov@caviumnetworks.com>, apinski@cavium.com, philipp.tomsich@theobroma-systems.com, christoph.muellner@theobroma-systems.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h index f53c4e6..4b717df 100644 --- a/arch/arm64/include/asm/compat.h +++ b/arch/arm64/include/asm/compat.h @@ -76,6 +76,9 @@ struct compat_timeval { s32 tv_usec; }; +/* ILP32 uses 64bit time_t and not the above compat structures */ +#define COMPAT_USE_64BIT_TIME !is_a32_compat_task() + struct compat_stat { #ifdef __AARCH64EB__ short st_dev;