Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5378855iog; Wed, 22 Jun 2022 18:55:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1saQidm10zQs1+7zde0kzx0DIw7MczAkE9g33F568EAfodddwOXQixJH/Zrb395Nft/t0XO X-Received: by 2002:a17:90a:17a6:b0:1ec:74e4:d7a3 with SMTP id q35-20020a17090a17a600b001ec74e4d7a3mr1369747pja.115.1655949304455; Wed, 22 Jun 2022 18:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655949304; cv=none; d=google.com; s=arc-20160816; b=NWnsvcfW6VFkbsuq1NvDi+1KMRKydoh2s5qEECV4kq8uZQpcPjdfzADdeNvS+lvWsh ewFEz/I0Wfr2JESVHqIvhAQZnZnZwmuGfoKLSNERH/NVcku+UaP1L6HCLA53mv6h2kuU agVVHPuZ+hhUPR70m0RGuNHBLBPaaettlaQz8lna7LecXbiZpKWnZvPiptD6s+0QaOo1 YaU6BlTUCBVjqiv6k942Swpk08TreZkeukY8tSr5KbK2/1KCMubj+MFZgdHPrwAzpXDA vDxUAQdB//qj0cD3xmjLSHqIS0nfsuIJhtWiXAIgQKIjbML1ipkzeKBI6TuS5SqymYaZ zLAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=7bjAZMlQ0FtmWrmLnbYOi/OpnSPkpDGULRP7ciDZ0eo=; b=guDgWY4sYFJDeNaoUAAPggP5YtycTSwbY3nKL4vGBxvJTryEFm9iNxvyOJB/tPl1hn AkEq/5fH07YF4WKPxBmb12DJEVwhJXz4TVEbkSK3Bxc60Iwow1FM5pv0G1QIVUKX0kqz GE7Ptz7xla7odk8u4phS2GeetJngd9gAY2T1w7iTlDbmxZddrwRrjhk6/7HWylwhXNVF aEOc2n10Ki2fEJGYi/cu68FTqJzFp6xSvKOSj6DRrcv/hx+fXI9an0TANK/QZsHGia60 hcJPzbsrVQJPx+yTFiJAHFxLx/UMO0zuGMxUvCWN42lh7C9Dh7hVcTk5UkJyqKhVlhLn piLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a631447000000b0040ca6d2f53asi15546505pgu.572.2022.06.22.18.54.36; Wed, 22 Jun 2022 18:55:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378229AbiFWBxr (ORCPT + 99 others); Wed, 22 Jun 2022 21:53:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377427AbiFWBwH (ORCPT ); Wed, 22 Jun 2022 21:52:07 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B94643AEE; Wed, 22 Jun 2022 18:51:52 -0700 (PDT) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LT39D2XFtzkWVf; Thu, 23 Jun 2022 09:50:08 +0800 (CST) Received: from dggpemm500013.china.huawei.com (7.185.36.172) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 23 Jun 2022 09:51:50 +0800 Received: from ubuntu1804.huawei.com (10.67.175.36) by dggpemm500013.china.huawei.com (7.185.36.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 23 Jun 2022 09:51:50 +0800 From: Chen Zhongjin To: , , , , , CC: , , , , , , , , , , , , , , Subject: [PATCH v6 22/33] arm64: efi-header: Mark efi header as data Date: Thu, 23 Jun 2022 09:49:06 +0800 Message-ID: <20220623014917.199563-23-chenzhongjin@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220623014917.199563-1-chenzhongjin@huawei.com> References: <20220623014917.199563-1-chenzhongjin@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.175.36] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500013.china.huawei.com (7.185.36.172) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This file only contains a set of constants forming the efi header. Make the constants part of a data symbol. Signed-off-by: Julien Thierry Signed-off-by: Chen Zhongjin --- arch/arm64/kernel/efi-header.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/kernel/efi-header.S b/arch/arm64/kernel/efi-header.S index 28d8a5dca5f1..3eacd27ab761 100644 --- a/arch/arm64/kernel/efi-header.S +++ b/arch/arm64/kernel/efi-header.S @@ -28,6 +28,7 @@ .macro __EFI_PE_HEADER #ifdef CONFIG_EFI .set .Lpe_header_offset, . - .L_head +SYM_DATA_START_LOCAL(arm64_efi_header) .long PE_MAGIC .short IMAGE_FILE_MACHINE_ARM64 // Machine .short .Lsection_count // NumberOfSections @@ -160,6 +161,7 @@ .balign SEGMENT_ALIGN .Lefi_header_end: +SYM_DATA_END_LABEL(arm64_efi_header, SYM_L_LOCAL, efi_header_end) #else .set .Lpe_header_offset, 0x0 #endif -- 2.17.1