Commit 00979ce4 authored by Masahiro Yamada's avatar Masahiro Yamada

linux/linkage.h: replace VMLINUX_SYMBOL_STR() with __stringify()

With the special case handling for Blackfin and Metag was removed by
commit 94e58e0a ("export.h: remove code for prefixing symbols with
underscore"), VMLINUX_SYMBOL_STR() is now equivalent to __stringify().

Replace the remaining usages in <linux/linkage.h> to prepare for the
entire removal of VMLINUX_SYMBOL_STR().
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 8593080c
...@@ -24,16 +24,16 @@ ...@@ -24,16 +24,16 @@
#ifndef cond_syscall #ifndef cond_syscall
#define cond_syscall(x) asm( \ #define cond_syscall(x) asm( \
".weak " VMLINUX_SYMBOL_STR(x) "\n\t" \ ".weak " __stringify(x) "\n\t" \
".set " VMLINUX_SYMBOL_STR(x) "," \ ".set " __stringify(x) "," \
VMLINUX_SYMBOL_STR(sys_ni_syscall)) __stringify(sys_ni_syscall))
#endif #endif
#ifndef SYSCALL_ALIAS #ifndef SYSCALL_ALIAS
#define SYSCALL_ALIAS(alias, name) asm( \ #define SYSCALL_ALIAS(alias, name) asm( \
".globl " VMLINUX_SYMBOL_STR(alias) "\n\t" \ ".globl " __stringify(alias) "\n\t" \
".set " VMLINUX_SYMBOL_STR(alias) "," \ ".set " __stringify(alias) "," \
VMLINUX_SYMBOL_STR(name)) __stringify(name))
#endif #endif
#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE) #define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment