Skip to contentSkip to conversation

linux/export: clean up the IA-64 KSYM_FUNC macro

PATCH In review Lukas Bulwahn 3 participants 3 messages Nov 10, 2023 – Nov 16, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/export: clean up the IA-64 KSYM_FUNC macro

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.

---
 include/linux/export-internal.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
include/linux/export-internal.h +1 -3
index 45fca09b2319..69501e0ec239 100644
@@ -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
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Lukas Bulwahn

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.

I see you sent a patch for the other instance of CONFIG_IA64 that I see in tree still. LGTM.

Quoted 22 lines
---
 include/linux/export-internal.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
include/linux/export-internal.h +1 -3
index 45fca09b2319..69501e0ec239 100644
@@ -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
Signature · 1 line
2.17.1
#2 lore raw
In reply to Lukas Bulwahn
Quoted 8 lines · Lukas Bulwahn

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.

---

Applied to linux-kbuild/fixes.
Thanks.

Quoted 21 lines
 include/linux/export-internal.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
include/linux/export-internal.h +1 -4
index 45fca09b2319..69501e0ec239 100644
@@ -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

Signature · 2 lines
Best Regards
Masahiro Yamada