aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-06-10 22:35:26 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-06-12 11:03:17 -0400
commit00979ce4fcc90d488c7f27f750097adc6b11bd07 (patch)
treeec095f745bf8cd459b3d1ee5fee92c2a25a7ba25 /include/linux
parent8593080c0fcf88a2140f63626319dcdd06127fa0 (diff)
linux/linkage.h: replace VMLINUX_SYMBOL_STR() with __stringify()
With the special case handling for Blackfin and Metag was removed by commit 94e58e0ac312 ("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: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/linkage.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index f68db9e450eb..d7618c41f74c 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -24,16 +24,16 @@
24 24
25#ifndef cond_syscall 25#ifndef cond_syscall
26#define cond_syscall(x) asm( \ 26#define cond_syscall(x) asm( \
27 ".weak " VMLINUX_SYMBOL_STR(x) "\n\t" \ 27 ".weak " __stringify(x) "\n\t" \
28 ".set " VMLINUX_SYMBOL_STR(x) "," \ 28 ".set " __stringify(x) "," \
29 VMLINUX_SYMBOL_STR(sys_ni_syscall)) 29 __stringify(sys_ni_syscall))
30#endif 30#endif
31 31
32#ifndef SYSCALL_ALIAS 32#ifndef SYSCALL_ALIAS
33#define SYSCALL_ALIAS(alias, name) asm( \ 33#define SYSCALL_ALIAS(alias, name) asm( \
34 ".globl " VMLINUX_SYMBOL_STR(alias) "\n\t" \ 34 ".globl " __stringify(alias) "\n\t" \
35 ".set " VMLINUX_SYMBOL_STR(alias) "," \ 35 ".set " __stringify(alias) "," \
36 VMLINUX_SYMBOL_STR(name)) 36 __stringify(name))
37#endif 37#endif
38 38
39#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE) 39#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)