summaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-12-18 09:15:12 +0200
committerTony Lindgren <tony@atomide.com>2020-12-18 09:15:12 +0200
commit500050f0d28868af302a3c24d7d1d0191521286e (patch)
tree7c4366836fcf5c7d7be4292f60d76876b3c463a0 /include/linux/module.h
parentc0bc969c176b10598b31d5d1a5edf9a5261f0a9f (diff)
parent6efac0173cd15460b48c91e1b0a000379f341f00 (diff)
downloadcachepc-linux-500050f0d28868af302a3c24d7d1d0191521286e.tar.gz
cachepc-linux-500050f0d28868af302a3c24d7d1d0191521286e.zip
Merge branch 'fixes-omap3' into fixes
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index 7ccdf87f376f..6264617bab4d 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -740,7 +740,7 @@ static inline bool within_module(unsigned long addr, const struct module *mod)
}
/* Get/put a kernel symbol (calls should be symmetric) */
-#define symbol_get(x) ({ extern typeof(x) x __attribute__((weak)); &(x); })
+#define symbol_get(x) ({ extern typeof(x) x __attribute__((weak,visibility("hidden"))); &(x); })
#define symbol_put(x) do { } while (0)
#define symbol_put_addr(x) do { } while (0)