Skip to content

Commit

Permalink
ia64,export.h: replace EXPORT_DATA_SYMBOL* with EXPORT_SYMBOL*
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada committed Jun 22, 2023
1 parent ddb5cdb commit 7d59313
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion arch/ia64/kernel/ivt.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 0 additions & 3 deletions include/asm-generic/export.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d59313

Please sign in to comment.