Message ID | 20231110120722.15907-1-lukas.bulwahn@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b129:0:b0:403:3b70:6f57 with SMTP id q9csp1303278vqs; Fri, 10 Nov 2023 10:28:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSM4N082lGhsZOgEsYRuzD+5zHJ9L8rFC2iK5H8FLmgK/b7CgDIgOuXk4j0YHN+htng9Le X-Received: by 2002:a05:6a20:8f29:b0:14c:d494:77c5 with SMTP id b41-20020a056a208f2900b0014cd49477c5mr10560177pzk.13.1699640906977; Fri, 10 Nov 2023 10:28:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699640906; cv=none; d=google.com; s=arc-20160816; b=NtVldiO8QtGXw7O1+erwoyMNe9mB3dIYWM/PQOqP3bf6tEvVPUb1mGj/FvuoQXBIbE J2wXvHkLUfnuMmqnwNk/tzscpJC4h8s6wgEuIAcAXfQAj3/2WUz+jPTbAW4P7i1v1CVz XL736LnDaEdWP1iE5BmAd+fgFum0+vPhAWEs+LXb0HJLNzmg+0ZmZglDkA2yaQ7ErA6q mHtDeYij5wQW0JFkeroezuCRspWHexdeh7dl1LdEtxXVaH2U3rm78mKXv2y2+KqgdeXw 3K+jSDa5A981JjlVN572nNcuPBvtIUz7MuCUPfPCknn1tni14ITZ7Z0ypYarThz9TrGu OhMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=ziu6y5kMWv25GqkZtPQxmr/4uKotFiq7lYQMCanhehw=; fh=lJ7FuEka8vZkvszd9cUxUT4WH7mVUjXnY1qli1HQA1s=; b=Yh5ICP2cC75QSc3Ckoqy0XFDyQADj4KiJ8+oKs6bApxXpD2Y57mAv/b8PxknKmgoZj sKFnJMbMiHeDWXiHPRY9HbHq1c9LAgtapZKsw/ZFvlxzDmXQv+v5SdQdczvGFFiq4yK/ uB3zMsCwe/lVoz1Taoq3XSrE2vZ2912SDcZd/ZfaG6j01rlpYLIUPOtIJrM9+n2rDpyP qO5OtEqy+aXuNDrLLFrz5kEGb8BKPmqp0XKXOHRzqfC58u8MCGGZu/ztnaW0bVabB4O0 fNyZSb0teh/hJ6puFA+srV1SK70MyMYkIuHYbtWsV3BUcwZvFjZG7aNv5qtrmE4r+sh3 bBSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GJNOg6Jd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 22-20020a17090a031600b0027d82c2b020si60159pje.88.2023.11.10.10.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 10:28:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GJNOg6Jd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7C6EA83C5574; Fri, 10 Nov 2023 10:28:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346097AbjKJS2M (ORCPT <rfc822;lhua1029@gmail.com> + 30 others); Fri, 10 Nov 2023 13:28:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345962AbjKJSZx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Nov 2023 13:25:53 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3DBD3289E; Fri, 10 Nov 2023 04:07:26 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-507975d34e8so2758778e87.1; Fri, 10 Nov 2023 04:07:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699618045; x=1700222845; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ziu6y5kMWv25GqkZtPQxmr/4uKotFiq7lYQMCanhehw=; b=GJNOg6JdwHbJLE1SvQTaHaYcFu5uJ7ftggt4YpQ/yOIDpvbhxgnJCJWKc6ft+ce5MY DWAoW13R3nuwXJH9AE6TjqOzM97Ikfppn+lmE0z2d/kqnanka4VYAy3JKAjqFSPfU1Yd MjnWkO0ieaE2NbvPOqHGjvglpvz4mvtO7v3f15VZsVYyf9w+IA7AZByhFlYyn19V1LnJ 0RTzPfOa3SjBlWNWneaoo81JStfyaq7p7xU7BtlJf8dn7qhAAqC7DchwJYz/Mm+Nousg i+JSkeOpw/VfidXoAVzmEip/Ix0aHOuEZkb4LSHhu41yy8wRmtg/JJCTlpOWzD8h8yzq ccPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699618045; x=1700222845; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ziu6y5kMWv25GqkZtPQxmr/4uKotFiq7lYQMCanhehw=; b=t9OvTR5gzJGEb1D8P8votE01/PTUcri5Opb1Ct8KbpIaTrYZEqkTKrfVXYa4ADWtz4 6weILu+iIYYKEfn81j7ML5EMk9qG8hkKHIHUhxtizdAS3Ucr1tus5wFaGGN9MCJRgT60 Lu0dYUAAc+5SKbOD22jfKrwNJwMUtAnNIuitp9xxs6BqvAtx39TUHqK8sHiOVt1/RrUH v4UTnavxRpixp9l6BOxjJ00K5/x0VgcxR9drNkn7r/TSQEMCIGM2GK6k1XOhV1khOhqn he+6awc4mn181JQXGA3G0JA9NenDImu65K/jodiSI0Kp2oystmsanKETz1/0VGRED7L9 VMYA== X-Gm-Message-State: AOJu0YyvWAvacoHgSgb3ZC0Ms7vQjGuJEVJaxmd2ZQaUxR5nu8hhebtl 8AfC/Vy6TMIHQMeIf7Wma+E= X-Received: by 2002:a05:6512:3087:b0:509:7915:a1d6 with SMTP id z7-20020a056512308700b005097915a1d6mr4844174lfd.58.1699618044689; Fri, 10 Nov 2023 04:07:24 -0800 (PST) Received: from felia.fritz.box ([2a02:810d:7e40:14b0:cd7:bb15:91b6:862d]) by smtp.gmail.com with ESMTPSA id j7-20020a5d6187000000b00318147fd2d3sm1801841wru.41.2023.11.10.04.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 04:07:24 -0800 (PST) From: Lukas Bulwahn <lukas.bulwahn@gmail.com> To: Masahiro Yamada <masahiroy@kernel.org>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Nicolas Schier <nicolas@fjasle.eu>, Helge Deller <deller@gmx.de>, linux-kbuild@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn <lukas.bulwahn@gmail.com> Subject: [PATCH] linux/export: clean up the IA-64 KSYM_FUNC macro Date: Fri, 10 Nov 2023 13:07:22 +0100 Message-Id: <20231110120722.15907-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 10 Nov 2023 10:28:25 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782202663706438493 X-GMAIL-MSGID: 1782202663706438493 |
Series |
linux/export: clean up the IA-64 KSYM_FUNC macro
|
|
Commit Message
Lukas Bulwahn
Nov. 10, 2023, 12:07 p.m. UTC
With commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture"),
there is no need to keep the IA-64 definition of the KSYM_FUNC macro.
Clean up the IA-64 definition of the KSYM_FUNC macro.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
include/linux/export-internal.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Comments
On Fri, Nov 10, 2023 at 01:07:22PM +0100, Lukas Bulwahn wrote: > With commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture"), > there is no need to keep the IA-64 definition of the KSYM_FUNC macro. > > Clean up the IA-64 definition of the KSYM_FUNC macro. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> I see you sent a patch for the other instance of CONFIG_IA64 that I see in tree still. LGTM. Reviewed-by: Nathan Chancellor <nathan@kernel.org> > --- > include/linux/export-internal.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/linux/export-internal.h b/include/linux/export-internal.h > index 45fca09b2319..69501e0ec239 100644 > --- a/include/linux/export-internal.h > +++ b/include/linux/export-internal.h > @@ -50,9 +50,7 @@ > " .previous" "\n" \ > ) > > -#ifdef CONFIG_IA64 > -#define KSYM_FUNC(name) @fptr(name) > -#elif defined(CONFIG_PARISC) && defined(CONFIG_64BIT) > +#if defined(CONFIG_PARISC) && defined(CONFIG_64BIT) > #define KSYM_FUNC(name) P%name > #else > #define KSYM_FUNC(name) name > -- > 2.17.1 >
On Fri, Nov 10, 2023 at 9:07 PM Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote: > > With commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture"), > there is no need to keep the IA-64 definition of the KSYM_FUNC macro. > > Clean up the IA-64 definition of the KSYM_FUNC macro. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> > --- Applied to linux-kbuild/fixes. Thanks. > include/linux/export-internal.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/linux/export-internal.h b/include/linux/export-internal.h > index 45fca09b2319..69501e0ec239 100644 > --- a/include/linux/export-internal.h > +++ b/include/linux/export-internal.h > @@ -50,9 +50,7 @@ > " .previous" "\n" \ > ) > > -#ifdef CONFIG_IA64 > -#define KSYM_FUNC(name) @fptr(name) > -#elif defined(CONFIG_PARISC) && defined(CONFIG_64BIT) > +#if defined(CONFIG_PARISC) && defined(CONFIG_64BIT) > #define KSYM_FUNC(name) P%name > #else > #define KSYM_FUNC(name) name > -- > 2.17.1 >
diff --git a/include/linux/export-internal.h b/include/linux/export-internal.h index 45fca09b2319..69501e0ec239 100644 --- a/include/linux/export-internal.h +++ b/include/linux/export-internal.h @@ -50,9 +50,7 @@ " .previous" "\n" \ ) -#ifdef CONFIG_IA64 -#define KSYM_FUNC(name) @fptr(name) -#elif defined(CONFIG_PARISC) && defined(CONFIG_64BIT) +#if defined(CONFIG_PARISC) && defined(CONFIG_64BIT) #define KSYM_FUNC(name) P%name #else #define KSYM_FUNC(name) name