Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1346264rwd; Thu, 25 May 2023 11:11:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7PQJSDsMby/8nu9jVU28+ruukmKHQ2vYbU/mb6hb/7EOfdDJqqKFinDCOqpzcGfagRVaUG X-Received: by 2002:a17:90b:2241:b0:255:2e48:70b1 with SMTP id hk1-20020a17090b224100b002552e4870b1mr2884229pjb.26.1685038310959; Thu, 25 May 2023 11:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685038310; cv=none; d=google.com; s=arc-20160816; b=HKs4t99XLa2EliXpmgLsH3v55uDs5AGrdUakyFXiATsOLdE1JDgQ030Y1u1BrzKsmO KBloNhLlL/WgHxTZOJC29BS1hSNWYZT56jjsjJMorJHmuJ/HvPap2OiEEycal7phUy5N CiuEzUr7rzClLRYfg4t+Pv9ZIlzcZvPr6ThBD3O/f7bu1s/bfzITMeq2jDER80uib/Rs MPYQcB3iQFG9ZsFnOtUy1VMr6AF0QtNR06+NBjKDMuKiFvcxOvTxO1tuz40vwlsPBW84 c0mmeQj/pt6eEcePTR9cKskf8xusMEkRVeobSChqP6y9+G0R/EsitqCRN34+MCACdXq2 BJmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=jdra5C26nmtDmbzfhsM6rsW7kbk3HhU5ZzpoiqFVz8s=; b=YoG8Ivy7Eqcy0FXsxiVxL6BvB//ueLJ+CaZzntxJORcLTgNGmrE31pmdpRVgloRtUM +WI0Hqx3Vx8t64iXqNLjm9tlIqx6ua3w0BI95fFnePGMKJcBAcKx7sma6sP7SYIMCuA7 66dn/G23lEnnCyV+RgDD1l1qcn4UcWUFRVYu1SFfC5HAIPLec5mNKO0yobdpti+KZtyp WEH6yz2dtZqWUcoH6ZpQCFxhVCzHtrWo9roCJePti2Ie9oNep54GwFuDch1rWna3YBUR 4LhmV4md8VF+AFh0ZBnA9C6SPn4xUdurfcoZrRA6mP02wO3t2t14PqireL7S9Xl7Jpjw EXdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=w7hPwYO2; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds2-20020a17090b08c200b0024e500f3749si4201896pjb.68.2023.05.25.11.11.35; Thu, 25 May 2023 11:11:50 -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; dkim=pass header.i=@google.com header.s=20221208 header.b=w7hPwYO2; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230396AbjEYRxG (ORCPT + 99 others); Thu, 25 May 2023 13:53:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231869AbjEYRxF (ORCPT ); Thu, 25 May 2023 13:53:05 -0400 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D1EFB6 for ; Thu, 25 May 2023 10:53:04 -0700 (PDT) Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-6237c957c5aso85696d6.2 for ; Thu, 25 May 2023 10:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1685037183; x=1687629183; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jdra5C26nmtDmbzfhsM6rsW7kbk3HhU5ZzpoiqFVz8s=; b=w7hPwYO2CnizHI6SW0dJYSPpTISVmg+j9Ov661VPQR+oFjFxWBozvgP7KQi4U9soUA BjVZxUuBuT9C+no73livcBJoR3Q7TFdN3XGcIbWEZrw0a6ChLEsagL/ziA1ZSB6FrDkg AEQcKXQ+MFal57d6QZkizu/w+AYRZ+z70vjQx3FwlZA9oT/D6zx1V251J/rJxsBMmDy3 Z5sO92H6R/UTSq6vZwaLsYktCHCBEjkTZpNIrPk+hwCnYpz7x+daoE5FwwKkiiNNk+Zn ZSOwdM9caAO36XEpKoTx8xUWw18ZPH1cZ1PRSYTa9SSJ5F839qALqD74Rif+m0B+Cozt ALOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685037183; x=1687629183; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jdra5C26nmtDmbzfhsM6rsW7kbk3HhU5ZzpoiqFVz8s=; b=fQborXMeineXCGlVjb3Uxzmd3FyTpCd5iJpydQ9NXtwckIlEsPetAdaRl60lf2kIws gMHdyPvaOPJGMv0Tz2zPU+Sfe37CWcqLezUWWBjJ11pbt77ASZTOwHMmtigTUiAM2MZz rLN+2TYYZKrDzQHa3NCoz9vm1uLtpJ0UOLRnYT7vNy/tm21rktNUugVfsKfhUuY5emA2 ASC++AqP4cwlVOlwKJcv2agUL2U9IFNNaciIQzbr+d6kV3qza/ZNSyhm1CiqDeP8vxZC 6VQi2Oysg2CWmvh4ufcqdTuw9FK8BFvbib348u5LLyEgUBlQLn/yYgixZzQtEHsaMhrT 5p8w== X-Gm-Message-State: AC+VfDwg1aaO1WcVVgOJY+VnrUhC0i/X+krCbqSvA3wQ+bya/V1N45rE nMdb/0x4GONYLWAl+QbMce0GWXTD78iJaAvNN/GSvw== X-Received: by 2002:ad4:5def:0:b0:5f1:606b:a9ca with SMTP id jn15-20020ad45def000000b005f1606ba9camr1595236qvb.37.1685037183488; Thu, 25 May 2023 10:53:03 -0700 (PDT) MIME-Version: 1.0 References: <20230521160426.1881124-1-masahiroy@kernel.org> <20230521160426.1881124-12-masahiroy@kernel.org> In-Reply-To: <20230521160426.1881124-12-masahiroy@kernel.org> From: Nick Desaulniers Date: Thu, 25 May 2023 10:52:52 -0700 Message-ID: Subject: Re: [PATCH v6 11/20] ia64,export.h: replace EXPORT_DATA_SYMBOL* with EXPORT_SYMBOL* To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nathan Chancellor , Nicolas Schier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 On Sun, May 21, 2023 at 9:05=E2=80=AFAM Masahiro Yamada wrote: > > With the previous refactoring, you can always use EXPORT_SYMBOL*. > > Replace two instances in ia64, then remove EXPORT_DATA_SYMBOL*. > > Signed-off-by: Masahiro Yamada Thanks for the patch! Reviewed-by: Nick Desaulniers > --- > > arch/ia64/kernel/head.S | 2 +- > arch/ia64/kernel/ivt.S | 2 +- > include/asm-generic/export.h | 3 --- > 3 files changed, 2 insertions(+), 5 deletions(-) > > diff --git a/arch/ia64/kernel/head.S b/arch/ia64/kernel/head.S > index f22469f1c1fc..c096500590e9 100644 > --- a/arch/ia64/kernel/head.S > +++ b/arch/ia64/kernel/head.S > @@ -170,7 +170,7 @@ RestRR: = \ > __PAGE_ALIGNED_DATA > > .global empty_zero_page > -EXPORT_DATA_SYMBOL_GPL(empty_zero_page) > +EXPORT_SYMBOL_GPL(empty_zero_page) > empty_zero_page: > .skip PAGE_SIZE > > diff --git a/arch/ia64/kernel/ivt.S b/arch/ia64/kernel/ivt.S > index d6d4229b28db..7a418e324d30 100644 > --- a/arch/ia64/kernel/ivt.S > +++ b/arch/ia64/kernel/ivt.S > @@ -87,7 +87,7 @@ > > .align 32768 // align on 32KB boundary > .global ia64_ivt > - EXPORT_DATA_SYMBOL(ia64_ivt) > + EXPORT_SYMBOL(ia64_ivt) > ia64_ivt: > ////////////////////////////////////////////////////////////////////////= ///////////////// > // 0x0000 Entry 0 (size 64 bundles) VHPT Translation (8,20,47) > diff --git a/include/asm-generic/export.h b/include/asm-generic/export.h > index 0ae9f38a904c..570cd4da7210 100644 > --- a/include/asm-generic/export.h > +++ b/include/asm-generic/export.h > @@ -8,7 +8,4 @@ > */ > #include > > -#define EXPORT_DATA_SYMBOL(name) EXPORT_SYMBOL(name) > -#define EXPORT_DATA_SYMBOL_GPL(name) EXPORT_SYMBOL_GPL(name) > - > #endif > -- > 2.39.2 > --=20 Thanks, ~Nick Desaulniers