From patchwork Tue May 13 09:02:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ley Foon Tan X-Patchwork-Id: 4163681 Return-Path: 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 071359F387 for ; Tue, 13 May 2014 09:06:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 42D592034A for ; Tue, 13 May 2014 09:06:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6639720340 for ; Tue, 13 May 2014 09:06:13 +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 1Wk8cG-0007De-HD; Tue, 13 May 2014 09:03:16 +0000 Received: from mail-by2on0114.outbound.protection.outlook.com ([207.46.100.114] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wk8cD-00078q-AW for linux-arm-kernel@lists.infradead.org; Tue, 13 May 2014 09:03:15 +0000 Received: from BL2FFO11FD046.protection.gbl (10.173.160.30) by BL2FFO11HUB030.protection.gbl (10.173.161.54) with Microsoft SMTP Server (TLS) id 15.0.939.9; Tue, 13 May 2014 09:02:51 +0000 Received: from SJ-ITEXEDGE02.altera.priv.altera.com (66.35.236.232) by BL2FFO11FD046.mail.protection.outlook.com (10.173.161.208) with Microsoft SMTP Server (TLS) id 15.0.939.9 via Frontend Transport; Tue, 13 May 2014 09:02:51 +0000 Received: from sj-mail01.altera.com (137.57.1.6) by SJ-ITEXEDGE02.altera.priv.altera.com (66.35.236.232) with Microsoft SMTP Server id 8.3.348.2; Tue, 13 May 2014 01:49:14 -0700 Received: from leyfoon-vm (leyfoon-vm.altera.com [137.57.103.35]) by sj-mail01.altera.com (8.13.7+Sun/8.13.7) with SMTP id s4D92jhB003988; Tue, 13 May 2014 02:02:46 -0700 (PDT) Received: by leyfoon-vm (sSMTP sendmail emulation); Tue, 13 May 2014 17:02:44 +0800 From: Ley Foon Tan To: , Subject: [PATCH 03/25] arm: Add 32 bit time_t and clock_t Date: Tue, 13 May 2014 17:02:43 +0800 Message-ID: <1399971763-4079-1-git-send-email-lftan@altera.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399971456-3941-1-git-send-email-lftan@altera.com> References: <1399971456-3941-1-git-send-email-lftan@altera.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:66.35.236.232; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019001)(6009001)(199002)(189002)(62966002)(74662001)(6806004)(46102001)(44976005)(19580395003)(81342001)(19580405001)(83322001)(31966008)(50226001)(4396001)(80022001)(74502001)(81542001)(102836001)(77156001)(92726001)(33646001)(20776003)(36756003)(47776003)(50466002)(86362001)(76482001)(87936001)(50986999)(79102001)(92566001)(83072002)(89996001)(2009001)(48376002)(87286001)(84676001)(77982001)(76176999)(85852003)(16796002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2FFO11HUB030; H:SJ-ITEXEDGE02.altera.priv.altera.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-OriginatorOrg: altera.onmicrosoft.com X-Forefront-PRVS: 0210479ED8 Received-SPF: SoftFail (: domain of transitioning altera.com discourages use of 66.35.236.232 as permitted sender) Authentication-Results: spf=softfail (sender IP is 66.35.236.232) smtp.mailfrom=lftan@altera.com; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140513_020313_428873_FC25CE46 X-CRM114-Status: UNSURE ( 5.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: linux-arm-kernel@lists.infradead.org, Ley Foon Tan , Russell King , lftan.linux@gmail.com, cltang@codesourcery.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 Override time_t and clock_t in include/uapi/asm-generic. Signed-off-by: Ley Foon Tan --- arch/arm/include/uapi/asm/posix_types.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/uapi/asm/posix_types.h b/arch/arm/include/uapi/asm/posix_types.h index d2de9cb..2f8e30f 100644 --- a/arch/arm/include/uapi/asm/posix_types.h +++ b/arch/arm/include/uapi/asm/posix_types.h @@ -32,6 +32,12 @@ typedef unsigned short __kernel_gid_t; typedef unsigned short __kernel_old_dev_t; #define __kernel_old_dev_t __kernel_old_dev_t +typedef long __kernel_time_t; +#define __kernel_time_t __kernel_time_t + +typedef long __kernel_clock_t; +#define __kernel_clock_t __kernel_clock_t + #include #endif