From patchwork Tue Oct 17 13:30:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116105 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4897863qgn; Tue, 17 Oct 2017 06:30:58 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCq8u/t1qCbTBBUhC5RFIfwleFzofyHQGMPDFPvhwhihW5lsM4nyf5+Qg0Cwwmu7mSg2V6M X-Received: by 10.80.167.37 with SMTP id h34mr17067760edc.223.1508247055920; Tue, 17 Oct 2017 06:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508247055; cv=none; d=google.com; s=arc-20160816; b=zGFM7+2pbA5/UJRL29QSt8rnN8FvuzzCcFOJYylcMs5WyEx3m0wcbORZyhf+X8Jaaf vD5Du4HXNqKseFAsqzMbw30Xs470ZSgPBfLHBJZteKKMIW8LLpG7CQ+OyZ/DGs0Lz/K7 77MirrkN9oqqW5/Eu72DgNeYg9vdUtJw3sqo2nr+oxiH8Gm3SztuHVTA4A3rbwWqyG2o ztOJ/AdosB9NMQOwNB7i4lureNJWfrKZwqF7klfIEpzNwBIoWPEKGzTy6v6dk6Tvba2/ RUzZaH39MagekPMgfGVTzBaEfDX+wMk9GDanaLX3fAfddgIGbFunc/4fZtw4/0/eD7a2 HsWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=Rr5t4vI6hxTcjXri3BVzAX5YjYuDKOs68cmUFETmrqU=; b=sjq6ZThdrBixALthOzVHe65yRNi9GBnZlHQgGPSkSr4byfR4S3bUEx3aqcrTRjA+RM icBsvq7ixUpXLdp8+zOKzIEQxdUTgIYzchg+1Iw+zNELZv8ms2Z2L46o/+b8i69iXXCy LOV/sR1S0vAA8NwV4vCXNGtsYKX+KS1n2PzU/UEmE7LaYCjavS5Qr+BOuzkLJZL4But+ nD/s4b8MKkxHKinT/JWEW8ueASPG5O9zT2P4OMqQk6UU9CACzaxtEsRh4jEdtNK8xaM5 3gYmZDkFG5X/QVi0GWPSD+HHO1fCW7pC5lZWEoD6xRsFTuxj6tM6O8uXZPpMITUcr/Ct G0Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=EIhCsgHl; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id i63si1999884edi.407.2017.10.17.06.30.55; Tue, 17 Oct 2017 06:30:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=EIhCsgHl; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 0E794C21D80; Tue, 17 Oct 2017 13:30:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 5B8C2C21C71; Tue, 17 Oct 2017 13:30:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id ECBF0C21C71; Tue, 17 Oct 2017 13:30:45 +0000 (UTC) Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lists.denx.de (Postfix) with ESMTPS id DF8A8C21C40 for ; Tue, 17 Oct 2017 13:30:44 +0000 (UTC) Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-10.nifty.com with ESMTP id v9HDUUVQ009624; Tue, 17 Oct 2017 22:30:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v9HDUUVQ009624 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508247033; bh=iCw7YY0HfaSkC/9MFHAwniDkUeYf6JIdG9hCUe3rj0A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EIhCsgHlzLDsv4kz+jO/weoYqph2le6Takm6rPGqBcVpdhU8sa48N6Jn7lHaO/lrK O4Sp+uBJW6MCg6acddwhfjVNFhJ/9WBdVbgcfr6C7Tqv3pwDcaSioVcWVib5tfTeo2 hz3TUj40Xqke7p4JcgYMJNyajH8h4pBYai79ZZaXmPrYAS1vzFVRKAUhh8HLKtMnQq rOBsM+KCAI8wBwkYBS8wz4gSsOFMGP9CY95Xxy2RqX+9/Wu2Uh13ASlcJY8nvRshB5 VeMXrb5DIqj8WYyybejhDbVvtD3MVftwGjBdYWf5kX04/J1UmacWhhAg76NI5yzoLD o40GLIgJwTILg== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Tue, 17 Oct 2017 22:30:19 +0900 Message-Id: <1508247020-28071-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508247020-28071-1-git-send-email-yamada.masahiro@socionext.com> References: <1508247020-28071-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 4/5] linux/types.h: add typedef of uintptr_t X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add this typedef in the same place as in Linux. This is necessary to refactor libfdt inclusion. U-Boot also defines it in include/compiler.h. Of course it should not do that, but I do not want to open a can of worms. Signed-off-by: Masahiro Yamada --- include/linux/types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/types.h b/include/linux/types.h index 416fa66..7c33e7a 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -24,6 +24,8 @@ typedef __kernel_gid32_t gid_t; typedef __kernel_uid16_t uid16_t; typedef __kernel_gid16_t gid16_t; +typedef unsigned long uintptr_t; + #ifdef CONFIG_UID16 /* This is defined by include/asm-{arch}/posix_types.h */ typedef __kernel_old_uid_t old_uid_t;