>From c9d320ac0be2a32a7b2bfad398be549865088ecf Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 8 Dec 2016 22:55:33 +0100 Subject: [PATCH] parisc: export symbol __cmpxchg_u64() kbuild test robot reports: >> ERROR: "__cmpxchg_u64" [net/netfilter/nft_counter.ko] undefined! Commit 43da04a593d8 ("netfilter: nf_tables: atomic dump and reset for stateful objects") introduces the first client of cmpxchg64() from modules. Patch 54b668009076 ("parisc: Add native high-resolution sched_clock() implementation") removed __cmpxchg_u64() dependency on CONFIG_64BIT. So, let's fix this problem by exporting this symbol unconditionally. Reported-by: kbuild test robot Signed-off-by: Pablo Neira Ayuso --- arch/parisc/kernel/parisc_ksyms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/parisc/kernel/parisc_ksyms.c b/arch/parisc/kernel/parisc_ksyms.c index 3cad8aadc69e..cfa704548cf3 100644 --- a/arch/parisc/kernel/parisc_ksyms.c +++ b/arch/parisc/kernel/parisc_ksyms.c @@ -40,8 +40,8 @@ EXPORT_SYMBOL(__atomic_hash); #endif #ifdef CONFIG_64BIT EXPORT_SYMBOL(__xchg64); -EXPORT_SYMBOL(__cmpxchg_u64); #endif +EXPORT_SYMBOL(__cmpxchg_u64); #include EXPORT_SYMBOL(lclear_user); -- 2.1.4