Skip to content

Commit d0cc0df

Browse files
committed
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>
1 parent e7e2d2d commit d0cc0df

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎arch/ppc/kernel/ppc_ksyms.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <linux/bitops.h>
1919

2020
#include <asm/page.h>
21-
#include <asm/semaphore.h>
2221
#include <asm/processor.h>
2322
#include <asm/uaccess.h>
2423
#include <asm/io.h>
@@ -262,9 +261,6 @@ EXPORT_SYMBOL(console_drivers);
262261
EXPORT_SYMBOL(xmon);
263262
EXPORT_SYMBOL(xmon_printf);
264263
#endif
265-
EXPORT_SYMBOL(__up);
266-
EXPORT_SYMBOL(__down);
267-
EXPORT_SYMBOL(__down_interruptible);
268264

269265
#if defined(CONFIG_KGDB) || defined(CONFIG_XMON)
270266
extern void (*debugger)(struct pt_regs *regs);

0 commit comments

Comments
 (0)