Message ID | 20190708015333.20411-2-peng.fan@nxp.com |
---|---|
State | Rejected |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="e8qiQsel"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45hp5b4TGFz9sN4 for <incoming@patchwork.ozlabs.org>; Mon, 8 Jul 2019 11:39:15 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 4F7AEC21E07; Mon, 8 Jul 2019 01:39:02 +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=SPF_HELO_PASS, 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 28A24C21DFD; Mon, 8 Jul 2019 01:38:51 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 448E7C21DFD; Mon, 8 Jul 2019 01:38:46 +0000 (UTC) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00052.outbound.protection.outlook.com [40.107.0.52]) by lists.denx.de (Postfix) with ESMTPS id 7E9E0C21D74 for <u-boot@lists.denx.de>; Mon, 8 Jul 2019 01:38:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LX5ajUyPgdTzK8xGrtCP4msKn4h2zvX5iPVlue+ytVQ=; b=e8qiQselR88VKVOF9SmI4cQ7sMMxw5ll7SKZAWg0dSt+WSzuQTS55HND/UQbPFXKh2MXpUk4UliqUlkj7YqhbFnKZbHi18Q+0UEq1osA+4hVDSvxhlbkkK0d7SqDFwNbF+JiSIWXx2XCQzRqDlJO53cuLSnX8hmLXOm3+TvcyMk= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5089.eurprd04.prod.outlook.com (52.134.89.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.19; Mon, 8 Jul 2019 01:38:40 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::2023:c0e5:8a63:2e47]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::2023:c0e5:8a63:2e47%5]) with mapi id 15.20.2052.020; Mon, 8 Jul 2019 01:38:40 +0000 From: Peng Fan <peng.fan@nxp.com> To: "sbabic@denx.de" <sbabic@denx.de>, "festevam@gmail.com" <festevam@gmail.com> Thread-Topic: [PATCH V2 01/51] linux: compat: guard PAGE_SIZE Thread-Index: AQHVNS3ek7zLBqASo0q+SzgBv/BZTQ== Date: Mon, 8 Jul 2019 01:38:40 +0000 Message-ID: <20190708015333.20411-2-peng.fan@nxp.com> References: <20190708015333.20411-1-peng.fan@nxp.com> In-Reply-To: <20190708015333.20411-1-peng.fan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.16.4 x-clientproxiedby: HK0PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::23) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 745f404f-e849-4607-eb85-08d703450120 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR04MB5089; x-ms-traffictypediagnostic: AM0PR04MB5089: x-microsoft-antispam-prvs: <AM0PR04MB5089D8F0B3BCB6BCC0858FF588F60@AM0PR04MB5089.eurprd04.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:187; x-forefront-prvs: 00922518D8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(376002)(396003)(39860400002)(366004)(199004)(189003)(66446008)(186003)(66946007)(64756008)(66556008)(6116002)(66476007)(73956011)(256004)(14444005)(53936002)(8936002)(26005)(76176011)(71190400001)(386003)(3846002)(71200400001)(6506007)(68736007)(66066001)(54906003)(4744005)(316002)(6512007)(5660300002)(110136005)(86362001)(2501003)(102836004)(52116002)(44832011)(8676002)(6486002)(14454004)(4326008)(50226002)(99286004)(486006)(7736002)(478600001)(11346002)(2906002)(446003)(1076003)(476003)(81156014)(81166006)(6436002)(25786009)(2616005)(36756003)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5089; H:AM0PR04MB4481.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: P89KX7+5r9qvWK7SClOXv+MSyJg5G5c5G+Ha4BdRmFAxpyJSj3PS8nJi0dM9W9mmpV/Bi+idZjKOzGSnHtG5nTkhjhq0itJWuTsmIyVKK8PKgd2Nt5k1/yze/gYiIl86a91+j+hLGR7M7X7U1EEojYelMI/DQgfrnylfmLUhwFlV2lO1XbAMOxiaWLw7OUmlyIRkv/bo/j3rEGOyvK40qMOqKrtrUDM4v2/SjE+uKkQbZca2sXdz4rACm5Y0GLS1q7bsr3GSTQ+/ISmVEYhCS0J+cOacCsvVyuh1kGnxHbvwVmOcEmHpduEAqyok8QXOipSaIEzN52QDGvCbrM49sDMXuVDtk8OKkRQRlkzrdNp4ij7ZJu04NUYV2w7CAcbSmR3j7hywTk/JdeexXCL2HPgHLsV2LilR0SzSLCYo02I= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 745f404f-e849-4607-eb85-08d703450120 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2019 01:38:40.7123 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: peng.fan@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5089 Cc: "u-boot@lists.denx.de" <u-boot@lists.denx.de>, dl-uboot-imx <uboot-imx@nxp.com>, Joe Hershberger <joe.hershberger@ni.com> Subject: [U-Boot] [PATCH V2 01/51] linux: compat: guard PAGE_SIZE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
Support i.MX8MM/N
|
expand
|
diff --git a/include/linux/compat.h b/include/linux/compat.h index d0f51baab4..c1f8bdf8f2 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -123,7 +123,9 @@ static inline void kmem_cache_destroy(struct kmem_cache *cachep) #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) +#ifndef PAGE_SIZE #define PAGE_SIZE 4096 +#endif /* drivers/char/random.c */ #define get_random_bytes(...)
Some archs defined PAGE_SIZE, such as ARMv8, to avoid build warning, guard PAGE_SIZE. Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> --- include/linux/compat.h | 2 ++ 1 file changed, 2 insertions(+)