diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-09-24 13:28:09 -0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-10-19 02:48:45 -0400 |
commit | 2aae008ca6b3f5e978bea7aff265def4f2282f90 (patch) | |
tree | e7a389e0e8fd88256e6abda9037afb4c079d80a1 | |
parent | 374b3bf8e8b519f61eb9775888074c6e46b3bf0c (diff) |
parisc: Export __cmpxchg_u64 unconditionally
__cmpxchg_u64 is built and used outside CONFIG_64BIT and thus needs to
be exported. This fixes the following build error seen when building
parisc:allmodconfig.
ERROR: "__cmpxchg_u64" [drivers/net/ethernet/intel/i40e/i40e.ko] undefined!
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | arch/parisc/kernel/parisc_ksyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/parisc_ksyms.c b/arch/parisc/kernel/parisc_ksyms.c index c6d6272a934f..7baa2265d439 100644 --- a/arch/parisc/kernel/parisc_ksyms.c +++ b/arch/parisc/kernel/parisc_ksyms.c | |||
@@ -35,12 +35,12 @@ EXPORT_SYMBOL(memset); | |||
35 | EXPORT_SYMBOL(__xchg8); | 35 | EXPORT_SYMBOL(__xchg8); |
36 | EXPORT_SYMBOL(__xchg32); | 36 | EXPORT_SYMBOL(__xchg32); |
37 | EXPORT_SYMBOL(__cmpxchg_u32); | 37 | EXPORT_SYMBOL(__cmpxchg_u32); |
38 | EXPORT_SYMBOL(__cmpxchg_u64); | ||
38 | #ifdef CONFIG_SMP | 39 | #ifdef CONFIG_SMP |
39 | EXPORT_SYMBOL(__atomic_hash); | 40 | EXPORT_SYMBOL(__atomic_hash); |
40 | #endif | 41 | #endif |
41 | #ifdef CONFIG_64BIT | 42 | #ifdef CONFIG_64BIT |
42 | EXPORT_SYMBOL(__xchg64); | 43 | EXPORT_SYMBOL(__xchg64); |
43 | EXPORT_SYMBOL(__cmpxchg_u64); | ||
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #include <linux/uaccess.h> | 46 | #include <linux/uaccess.h> |