[parisc-linux-cvs] surround exports of __atomic_hash and atomic_dec_and_lock with "#ifdef CONFIG_SMP" to fix UP builds
Helge Deller
deller@gmx.de
Sun, 4 Nov 2001 13:10:19 +0100
Index: kernel/parisc_ksyms.c
===================================================================
RCS file: /var/cvs/linux/arch/parisc/kernel/parisc_ksyms.c,v
retrieving revision 1.32
diff -u -p -r1.32 parisc_ksyms.c
--- kernel/parisc_ksyms.c 2001/11/04 07:06:50 1.32
+++ kernel/parisc_ksyms.c 2001/11/04 12:06:02
@@ -63,8 +63,10 @@ EXPORT_SYMBOL(__global_restore_flags);
EXPORT_SYMBOL(__xchg8);
EXPORT_SYMBOL(__xchg32);
EXPORT_SYMBOL(__cmpxchg_u32);
+#ifdef CONFIG_SMP
EXPORT_SYMBOL(__atomic_hash);
EXPORT_SYMBOL(atomic_dec_and_lock);
+#endif
#ifdef __LP64__
EXPORT_SYMBOL(__xchg64);
EXPORT_SYMBOL(__cmpxchg_u64);