Message ID | 1443564860-31208-6-git-send-email-ynorov@caviumnetworks.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCHN3LUNYYJBBOE3VSYAKGQE4YYQ6HQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id B8B7322B1E for <linaro@patches.linaro.org>; Tue, 29 Sep 2015 22:16:25 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf12861721wic.3 for <linaro@patches.linaro.org>; Tue, 29 Sep 2015 15:16:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :spamdiagnosticoutput:spamdiagnosticmetadata:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=Q1VMGFLmJey33VB9dPQ7x6kp3zPdNFtrkbF23dCfWLg=; b=mgNq6KCUlPop3HH2hoTVIknhRu2lCUZxOKpRfk/ngbuThwvpXdYHCosqh20VhgZReD chdpIWZMzDViFNwvZm9bJ31dNFffyHFV6l//iDxlRHqsz7Rt+f+A86H8RDW9OdYSJ/4R Z9VkxGWqQ8cjHu5Ii4RQ+rPoWH4lV1/F2Hk249Clexz1ewH2luG/hLx+orCtJsi6jnEo hFQk1Fhbn8JJaY9enO6/E9o8WfbzJ1lOt+aUC8AEgqgQpoA3QO2ng/AYZV84iowg73rA ++uC6bcxoVnkz6vEyeBmPO/5GuG/oK/PiVOaeDyN9kNfjySPiCwL2GtoI1wokx8m83yx Ys/g== X-Gm-Message-State: ALoCoQlv902i/LLmR5j7HvD3zc5pKQDu4EdRdNPaqkdmEY3A0vaWXNwL2Q0Fi5rHBph2yiFKEzvt X-Received: by 10.194.59.166 with SMTP id a6mr43295wjr.6.1443564985041; Tue, 29 Sep 2015 15:16:25 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.166.200 with SMTP id p191ls5286lfe.37.gmail; Tue, 29 Sep 2015 15:16:24 -0700 (PDT) X-Received: by 10.152.6.100 with SMTP id z4mr92165laz.69.1443564984892; Tue, 29 Sep 2015 15:16:24 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id m5si11935278lbp.169.2015.09.29.15.16.24 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 15:16:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by laer8 with SMTP id r8so25283197lae.2 for <patchwork-forward@linaro.org>; Tue, 29 Sep 2015 15:16:24 -0700 (PDT) X-Received: by 10.152.7.38 with SMTP id g6mr96204laa.106.1443564984414; Tue, 29 Sep 2015 15:16:24 -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.112.59.35 with SMTP id w3csp2397055lbq; Tue, 29 Sep 2015 15:16:23 -0700 (PDT) X-Received: by 10.66.251.136 with SMTP id zk8mr404947pac.143.1443564983046; Tue, 29 Sep 2015 15:16:23 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gg2si40536075pbc.80.2015.09.29.15.16.22; Tue, 29 Sep 2015 15:16:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756530AbbI2WQP (ORCPT <rfc822;pingbo.wen@linaro.org> + 30 others); Tue, 29 Sep 2015 18:16:15 -0400 Received: from mail-bl2on0089.outbound.protection.outlook.com ([65.55.169.89]:36479 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755589AbbI2WP4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 29 Sep 2015 18:15:56 -0400 Received: from localhost (91.78.158.8) by DM2PR07MB622.namprd07.prod.outlook.com (10.141.177.146) with Microsoft SMTP Server (TLS) id 15.1.280.20; Tue, 29 Sep 2015 22:15:53 +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> CC: <yury.norov@gmail.com>, <philipp.tomsich@theobroma-systems.com>, <apinski@cavium.com>, <christoph.muellner@theobroma-systems.com>, <klimov.linux@gmail.com>, Yury Norov <ynorov@caviumnetworks.com> Subject: [PATCH v5 05/23] arm64:ilp32: expose 'kernel_long' as 'long long' for ILP32 Date: Wed, 30 Sep 2015 01:14:02 +0300 Message-ID: <1443564860-31208-6-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 Content-Type: text/plain X-Originating-IP: [91.78.158.8] X-ClientProxiedBy: HE1PR03CA0005.eurprd03.prod.outlook.com (25.163.170.143) To DM2PR07MB622.namprd07.prod.outlook.com (10.141.177.146) X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB622; 2:oc1UHq6UDRnJ4aXUlzlo6IRw475JogJu2vw53j6zKOt+R+62GZ6hEmRXa+hSUd0XnJN4DMZ6RpWWk6wjVwHP8rZRdPkIp+RJalVosKAKdnV8DIk+6n3qWLXJm2dh1ZLD4bsGBg9zMJ6nZrGSyP8pH7Wgl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NjI+o26y0G5Ds8JlD0no2Koz+JH/ygsdtXCIEOHx9vW6GdIEUJHKjnPye+djWdJ8468p3o6mPbDU9du8ey130= X-Microsoft-Antispam-PRVS: <DM2PR07MB62260D4C335EF943B6E1710EE4E0@DM2PR07MB622.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001); SRVR:DM2PR07MB622; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB622; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB622; 4:EdRCGe7XyJ0jV+/3MrJk/iUBcSE0ElbnqhOJw2ZtNQYQJURY8XINZVTUfdsVKhylwJ936frxXyfLecKgVPPVuy5mx26RnDE/uSzMgggaC27537Qw2Bn+kgsQc8+hurk9pSDqqaFGLJe5RqGgmMprcV6Lha247xJiK8ZFMq+S4SRN3Niuz9Sj8crq/GM0f9JWUsSPrrnxY7fvLyN0w07S9ZSp6rnS0SpK1n/VUyS6rmQM6vq1ksejGBtzRzPj9DE3XKh8/XSUpSRpBddJYXBi/CELx/Ovfp2PU386YgN6QG1HTUHe6zy8wSwYsgr5ZR9hLEVXRWEsquccBg49z0cFwBhg1vVCx3FuTboMwr7kDS4= X-Forefront-PRVS: 0714841678 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(199003)(189002)(5007970100001)(5008740100001)(64706001)(47776003)(189998001)(50226001)(107886002)(122386002)(50986999)(66066001)(76176999)(36756003)(87976001)(42186005)(46102003)(48376002)(77096005)(76506005)(68736005)(5004730100002)(229853001)(5003940100001)(2950100001)(105586002)(106356001)(40100003)(5001860100001)(5001830100001)(19580405001)(97736004)(2201001)(19580395003)(50466002)(4001540100001)(5001770100001)(5001960100002)(92566002)(33646002)(62966003)(81156007)(77156002)(101416001)(223183001)(4001430100001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB622; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; DM2PR07MB622; 23:nbaJwk6/5FBfqs/QtpzDqZvQHHR5iZkzAvVAb87jYV?= =?us-ascii?Q?x0k0BXWn2klgr6o7f/rScXwHH4QnjA2CYLt4Rn4/qNLn4tKgcIyr/fzo3Vvh?= =?us-ascii?Q?jn6M/QpfT6OvfWZ0o4oM86O8sZQY0EG8yd6/jE6PeToVPutYL8RaoGerhqwx?= =?us-ascii?Q?A68ERxIg3hba1SzuN5lN51x1pKxeYicaFg3qt2SBYugxkJauaTBs3t7n/K1u?= =?us-ascii?Q?nVAJa5ZLgptGR4LR4yQxzOFozeTNSd9MfvzPMDgtf/PD587/By5hUnenbj7y?= =?us-ascii?Q?3oxwzIt6WndudyTCkGPGg4pbDq4N/AECaYX5WOMv//yEp62TlrXgBG83qiQ9?= =?us-ascii?Q?57LUJ5YDErgHwOPft/qqQyVIQeQ+cDs/CLPqk3+FGHSN41Z8pz5a0OMIzcWT?= =?us-ascii?Q?g0CR8EQ++UqkgK621c6Fyyx1z8RtlKmc5cPfRrSOO9vIzLuZbtCyPSWnAH5P?= =?us-ascii?Q?E49xbGMYQ47qUoQri9WaqDRaBrxcOQf0tRAcpe6TSv7djH1LrXMYX4ODHh08?= =?us-ascii?Q?J0NBOylEkENo4Vsh+CoRqd/i5EXZoDK/FMSTHDPTn1vdA/TdIVK8Sim0cHth?= =?us-ascii?Q?9u2KIqKJ5nTcJq0Gd8yXWXuWyAWLis3K/zWN9wmzf366E12H3sPBqY3WZ9Vm?= =?us-ascii?Q?ulGHqp8IoCbkWQfQCasCJh6UHH+Dj65DHv6pcPzjUebVDrKAINJkKkFW7CVv?= =?us-ascii?Q?sqo7i4KqBKX2xXdPnvPgJk8oCyARsuMMJnqdYyUxpeg+r1VGQrw/v7fndC3M?= =?us-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yQP6Lk4L+9hlF/0tlLgrFSRZO9dNlvkLw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2015 22:15:53.4892 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB622 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mailfrom=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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/arch/arm64/include/uapi/asm/posix_types.h b/arch/arm64/include/uapi/asm/posix_types.h index 7985ff6..d6a7cb5 100644 --- a/arch/arm64/include/uapi/asm/posix_types.h +++ b/arch/arm64/include/uapi/asm/posix_types.h @@ -5,6 +5,16 @@ typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; #define __kernel_old_uid_t __kernel_old_uid_t +#if defined(__ILP32__) +/* The ILP32 kernel ABI reuses LP64 system calls where possible; to + this end, the equivalent ILP32 type definitions are used (a 64bit + 'long'-type in LP64 corresponds to a 'long long' in LP64). */ + +typedef long long __kernel_long_t; +typedef unsigned long long __kernel_ulong_t; +#define __kernel_long_t __kernel_long_t +#endif /* defined(__ILP32__) */ + #include <asm-generic/posix_types.h> -#endif /* __ASM_POSIX_TYPES_H */ +#endif /* __ASM_POSIX_TYPES_H */