Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ppc: Remove duplicate exports of __down, __up etc.

__down, __down_interruptible and __up are defined and exported in
arch/powerpc/kernel/semaphore.c, and used from there for ARCH=ppc,
so there is no need to export them in arch/ppc/kernel/ppc_ksyms.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>

-4
-4
arch/ppc/kernel/ppc_ksyms.c
··· 18 18 #include <linux/bitops.h> 19 19 20 20 #include <asm/page.h> 21 - #include <asm/semaphore.h> 22 21 #include <asm/processor.h> 23 22 #include <asm/uaccess.h> 24 23 #include <asm/io.h> ··· 261 262 EXPORT_SYMBOL(xmon); 262 263 EXPORT_SYMBOL(xmon_printf); 263 264 #endif 264 - EXPORT_SYMBOL(__up); 265 - EXPORT_SYMBOL(__down); 266 - EXPORT_SYMBOL(__down_interruptible); 267 265 268 266 #if defined(CONFIG_KGDB) || defined(CONFIG_XMON) 269 267 extern void (*debugger)(struct pt_regs *regs);