summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-19 07:34:47 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-22 23:21:44 +0900
commitc4df32c80d04987023844c1fb13734a872c8f2e2 (patch)
treeb0fe7cfe2f2a16fcad02a03a19c8b190f47f90e9 /include
parent6fbd856950b41345ad5c893613efebdc0c356bc7 (diff)
downloadlinux-stable-c4df32c80d04987023844c1fb13734a872c8f2e2.tar.gz
linux-stable-c4df32c80d04987023844c1fb13734a872c8f2e2.tar.bz2
linux-stable-c4df32c80d04987023844c1fb13734a872c8f2e2.zip
export.h: remove VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR()
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() is no-op. Replace the remaining usages, then remove the definition of VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/export.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/export.h b/include/linux/export.h
index b768d6dd3c90..c363bde21bbe 100644
--- a/include/linux/export.h
+++ b/include/linux/export.h
@@ -10,13 +10,6 @@
* hackers place grumpy comments in header files.
*/
-#define __VMLINUX_SYMBOL(x) x
-#define __VMLINUX_SYMBOL_STR(x) #x
-
-/* Indirect, so macros are expanded before pasting. */
-#define VMLINUX_SYMBOL(x) __VMLINUX_SYMBOL(x)
-#define VMLINUX_SYMBOL_STR(x) __VMLINUX_SYMBOL_STR(x)
-
#ifndef __ASSEMBLY__
struct kernel_symbol
{