ia64,export.h: replace EXPORT_DATA_SYMBOL* with EXPORT_SYMBOL*
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 11 Jun 2023 15:50:53 +0000 (00:50 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 22 Jun 2023 12:21:06 +0000 (21:21 +0900)
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 <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
arch/ia64/kernel/head.S
arch/ia64/kernel/ivt.S
include/asm-generic/export.h

index f22469f..c096500 100644 (file)
@@ -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
 
index d6d4229..7a418e3 100644 (file)
@@ -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)
index 0ae9f38..570cd4d 100644 (file)
@@ -8,7 +8,4 @@
  */
 #include <linux/export.h>
 
-#define EXPORT_DATA_SYMBOL(name)       EXPORT_SYMBOL(name)
-#define EXPORT_DATA_SYMBOL_GPL(name)   EXPORT_SYMBOL_GPL(name)
-
 #endif