Message ID | 20180409003505.164715-47-alexander.levin@microsoft.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ECA976037F for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Apr 2018 00:41:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC7E5289E0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Apr 2018 00:41:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0F68289F3; Mon, 9 Apr 2018 00:41:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 26097289E0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Apr 2018 00:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P4rrsR1vx45RFH6FRwHQqa3t9J9CZ5qU7qp/+AI4FPo=; b=UDLSLOa0Q2kwsV L+F3hOJ/aU4NyQnWIEIdiUtbeGDubFxxtp/2a7eLzILF6RfaDPbiQY7q2FdHn9+fNsG6fROCeCbuK s2A2mBsVSUR+ovusJeymox93KeTr8kUoiRM1wtjBGRQiChQ6cPxHlFs3TezgQayCV1Ad5BTfIHrbJ uxWvWJOaRmyU/x3sQsu2yLcH+LhMDTk9mqiQq+qwPV4yf0J/ml65BuBxiCti6wA+RFmR4Cu+z4kpt nUJiZNmF3U5NDIodStONgyG4CVmWhNMLKUibwqBjiiURuwP1XM1qEFE5173ufHqYG+LvhVMgoZ0QG 8rshK0oFBFn2pXijIEsw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f5Ks9-0003i2-FJ; Mon, 09 Apr 2018 00:41:25 +0000 Received: from mail-sn1nam02on0129.outbound.protection.outlook.com ([104.47.36.129] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f5KrL-0003Ce-24 for linux-arm-kernel@lists.infradead.org; Mon, 09 Apr 2018 00:40:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2EhaSeVlfgvSiCjF97WLCYilcfKGUvyEp3Ozlak6ZbE=; b=keCzzTjcHoBaxi1fBiDrtKMLzWbkRlgy6Bow4eTfJjCJosuVz9hu8M5E5sC0CdpiOBmrAYy+Rmv4egIkVQbAjCkP1FAy3OQol4j1PZMhi/ZAIE+bjOSjlGv2oej1+IsTLi+0kvdgiHemUVno/KXWITe02cnQJVWgjZFAQhmBQco= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0870.namprd21.prod.outlook.com (10.167.110.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:40:24 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:40:24 +0000 From: Sasha Levin <Alexander.Levin@microsoft.com> To: "stable@vger.kernel.org" <stable@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: [PATCH AUTOSEL for 3.18 047/101] arm64: pass endianness info to sparse Thread-Topic: [PATCH AUTOSEL for 3.18 047/101] arm64: pass endianness info to sparse Thread-Index: AQHTz5q5AttoKY1ljUiafR1c2NqYtw== Date: Mon, 9 Apr 2018 00:35:57 +0000 Message-ID: <20180409003505.164715-47-alexander.levin@microsoft.com> References: <20180409003505.164715-1-alexander.levin@microsoft.com> In-Reply-To: <20180409003505.164715-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0870; 7:q1bibtJtnyuV5d4cn8we1Lk3LRLL7k6dl5UXtSr6F8kxjRLNb7OB7BRrUUIAdEv1CAO6rZ9sGSiZ3VbMFSFy/2ueqfJP09Tx7tFEbhSJJWrW8Fb2R3Q09rZL0U44m+hejgdG2aBbsc0mc2iyXtVVBgzcqmoN2IdPXIIlYtLv7fSnXe13R0xOaVNU89SFPn0/5i2ZjKt1WULB2f6DSBoQPdJFVlEQWDsa9h4d78Kks09Q2tTotDTUPLglEtZxDOU8; 20:BAhy9zcXz2Y+UnMCMfptdMlbq/3g3T5Yf19CXREuIVk8hzJUCZmVNt88Xwe7luGr55KSlCPQN2ZiTc6MwNPjrPWm+pqoexOsZ8O6uwzDasYEhlSNFJhxgeYOYGpdOqmB5FU+8jM3LYt2Pw5/JzxZ31Rec91/M91TY9gPylTYWWs= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: f21caead-5977-4216-31f5-08d59db27b53 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:DM5PR2101MB0870; x-ms-traffictypediagnostic: DM5PR2101MB0870: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: <DM5PR2101MB08705D66F3DA6AA726E73C44FBBF0@DM5PR2101MB0870.namprd21.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(28532068793085)(180628864354917)(89211679590171)(85827821059158)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231221)(944501327)(52105095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041310)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR2101MB0870; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0870; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39380400002)(396003)(366004)(376002)(39860400002)(346002)(199004)(189003)(5250100002)(5660300001)(26005)(10290500003)(2501003)(478600001)(68736007)(8676002)(8936002)(81156014)(81166006)(22452003)(3846002)(86362001)(36756003)(1076002)(305945005)(54906003)(72206003)(186003)(316002)(4326008)(25786009)(6486002)(110136005)(7736002)(446003)(10090500001)(76176011)(14454004)(11346002)(476003)(2900100001)(97736004)(107886003)(39060400002)(486006)(2906002)(6512007)(53936002)(102836004)(2616005)(86612001)(6116002)(3280700002)(6666003)(6506007)(66066001)(6436002)(3660700001)(105586002)(99286004)(106356001)(22906009)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0870; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: vwFfseV2cRuNJTSxlvpGZiWEFeqC+09NMUPLunAJbITtC0tqtoy12ujB7KsFHew9ca7UJyeFaYZEz1qpYFVFP5V4sEUJPSYS44QnuB031Rh3RHDwPbCUP7LlUjX44LOZkWS5PKYgEQzI+RRBVGJveOKBWIhVnOsltLOc5wmTY2JaIdwNsqkyRR2VIO+fdXEAGV4v440aRABDOEpOwuoQpqP23XhUm9Qh84aH+Xz0+cXgYpUyslEIZgT6ZHxQ9G0gV3SnOnffKddy17KB6ir0DwGMPU5FoWjMWya4rYdAu3FAOtCwf1++CTawBBsp8RJ+x7F07giVV8rEMmrXr6pmrI1u2duDUZyPyAOuEuY5iRQ0y3zwwXR2URXYHTbD5CSu7DVkF6vGuQS8egUKyJRZbw3lDu3MabVHAQaCP7vN3lQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: f21caead-5977-4216-31f5-08d59db27b53 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:35:57.5015 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0870 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180408_174035_124511_3CBDC7D2 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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: Sasha Levin <Alexander.Levin@microsoft.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Luc Van Oostenryck <luc.vanoostenryck@gmail.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-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 3e2f6590666a..203d87177172 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -24,10 +24,12 @@ KBUILD_CFLAGS += $(call cc-option, -mpc-relative-literal-loads) ifeq ($(CONFIG_CPU_BIG_ENDIAN), y) KBUILD_CPPFLAGS += -mbig-endian +CHECKFLAGS += -D__AARCH64EB__ AS += -EB LD += -EB else KBUILD_CPPFLAGS += -mlittle-endian +CHECKFLAGS += -D__AARCH64EL__ AS += -EL LD += -EL endif