summaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-09-12 23:05:48 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-09-12 23:05:48 +0000
commit694ef5461ede4fb222616457903ec18e34b4e902 (patch)
tree9a90b2ecf47dd1a6fdff0414f5e9af605304588f /arch/ppc/kernel
parent545f435ebcfd94a1e7c20b46efe81b4d6ac4e698 (diff)
Remove files that were removed between 2.1.49 and 2.1.55. Somehow
my script to do that broke :-(
Diffstat (limited to 'arch/ppc/kernel')
-rw-r--r--arch/ppc/kernel/ksyms.c40
-rw-r--r--arch/ppc/kernel/port_io.c146
-rw-r--r--arch/ppc/kernel/stubs.c0
-rw-r--r--arch/ppc/kernel/support.c0
-rw-r--r--arch/ppc/kernel/usercpy.c0
5 files changed, 0 insertions, 186 deletions
diff --git a/arch/ppc/kernel/ksyms.c b/arch/ppc/kernel/ksyms.c
deleted file mode 100644
index b246fa6df..000000000
--- a/arch/ppc/kernel/ksyms.c
+++ /dev/null
@@ -1,40 +0,0 @@
-#include <linux/config.h>
-#include <linux/module.h>
-#include <linux/smp.h>
-#include <linux/elfcore.h>
-#include <linux/sched.h>
-
-#include <asm/semaphore.h>
-#include <asm/processor.h>
-#include <asm/uaccess.h>
-#include <asm/io.h>
-
-void transfer_to_handler();
-void int_return();
-void syscall_trace();
-void handle_IRQ();
-void MachineCheckException();
-void AlignmentException();
-void ProgramCheckException();
-void SingleStepException();
-void FloatingPointCheckException();
-void sys_sigreturn();
-unsigned long sys_call_table[];
-
-extern struct task_struct *current_set[1];
-
-/* platform dependent support */
-EXPORT_SYMBOL(current_set);
-EXPORT_SYMBOL(do_signal);
-EXPORT_SYMBOL(syscall_trace);
-EXPORT_SYMBOL(transfer_to_handler);
-EXPORT_SYMBOL(int_return);
-EXPORT_SYMBOL(handle_IRQ);
-EXPORT_SYMBOL(init_task_union);
-EXPORT_SYMBOL(MachineCheckException);
-EXPORT_SYMBOL(AlignmentException);
-EXPORT_SYMBOL(ProgramCheckException);
-EXPORT_SYMBOL(SingleStepException);
-EXPORT_SYMBOL(FloatingPointCheckException);
-EXPORT_SYMBOL(sys_sigreturn);
-EXPORT_SYMBOL(sys_call_table);
diff --git a/arch/ppc/kernel/port_io.c b/arch/ppc/kernel/port_io.c
deleted file mode 100644
index cc8626a3a..000000000
--- a/arch/ppc/kernel/port_io.c
+++ /dev/null
@@ -1,146 +0,0 @@
-/*
- * I/O 'port' access routines
- */
-#include <asm/byteorder.h>
-#include <asm/io.h>
-
-#define inb_asm(port) {( \
- unsigned char ret; \
- asm ( "lbz %0,0(%1)\nnop\nnop\nnop\nnop\nnop\nnop\nnop\nnop\n" : "=r" (ret) : "r" (port+_IO_BASE)); \
- return ret; \
-})
-
-inline unsigned char
-inb(int port)
-{
- unsigned char ret;
- asm("/*inb*/\n");
- asm ( "lbz %0,0(%1)" : "=r" (ret) : "r" (port+_IO_BASE));
- return ret;
-}
-
-inline unsigned short
-inw(int port)
-{
- unsigned short ret;
- asm("/*inw*/\n");
- asm ( "lhbrx %0,%1,%2" : "=r" (ret) : "r" (port+_IO_BASE), "r" (0));
- return ret;
-}
-
-inline unsigned long
-inl(int port)
-{
- unsigned long ret;
- asm("/*inl*/\n");
- asm ( "lwbrx %0,%1,%2" : "=r" (ret) : "r" (port+_IO_BASE), "r" (0));
- return ret;
-}
-
-inline unsigned char
-outb(unsigned char val,int port)
-{
- asm("/*outb*/\n");
- asm ( "stb %0,0(%1)" :: "r" (val), "r" (port+_IO_BASE));
- return (val);
-}
-
-inline unsigned short
-outw(unsigned short val,int port)
-{
- asm("/*outw*/\n");
- asm ( "sthbrx %0,%1,%2" :: "r" (val), "r" (port+_IO_BASE), "r" (0));
- return (val);
-}
-
-inline unsigned long
-outl(unsigned long val,int port)
-{
- asm("/*outl*/\n");
- asm ( "stwbrx %0,%1,%2" :: "r" (val), "r" (port+_IO_BASE), "r" (0));
- return (val);
-}
-
-void insb(int port, char *ptr, int len)
-{
- memcpy( (void *)ptr, (void *)(port+_IO_BASE), len);
-}
-
-void insw(int port, short *ptr, int len)
-{
- asm ("mtctr %2 \n\t"
- "subi %1,%1,2 \n\t"
- "00:\n\t"
- "lhbrx %2,0,%0 \n\t"
- "sthu %2,2(%1) \n\t"
- "bdnz 00b \n\t"
- :: "r" (port+_IO_BASE), "r" (ptr), "r" (len));
-}
-
-void insw_unswapped(int port, short *ptr, int len)
-{
- memcpy( (void *)ptr, (void *)(port+_IO_BASE), (len*sizeof(short)) );
-}
-
-void insl(int port, long *ptr, int len)
-{
- asm ("mtctr %2 \n\t"
- "subi %1,%1,4 \n\t"
- "00:\n\t"
- "lhbrx %2,0,%0 \n\t"
- "sthu %2,4(%1) \n\t"
- "bdnz 00b \n\t"
- :: "r" (port+_IO_BASE), "r" (ptr), "r" (len));
-}
-
-void outsb(int port, char *ptr, int len)
-{
- memcpy( (void *)ptr, (void *)(port+_IO_BASE), len );
-}
-
-void outsw(int port, short *ptr, int len)
-{
- asm ("mtctr %2\n\t"
- "subi %1,%1,2\n\t"
- "00:lhzu %2,2(%1)\n\t"
- "sthbrx %2,0,%0\n\t"
- "bdnz 00b\n\t"
- :: "r" (port+_IO_BASE), "r" (ptr), "r" (len));
-}
-
-void outsw_unswapped(int port, short *ptr, int len)
-{
- memcpy( (void *)ptr, (void *)(port+_IO_BASE), len*sizeof(short) );
-}
-
-void outsl(int port, long *ptr, int len)
-{
- asm ("mtctr %2\n\t"
- "subi %1,%1,4\n\t"
- "00:lwzu %2,4(%1)\n\t"
- "sthbrx %2,0,%0\n\t"
- "bdnz 00b\n\t"
- :: "r" (port+_IO_BASE), "r" (ptr), "r" (len));
-}
-
-void insl_unswapped(int port, long *ptr, int len)
-{
- unsigned long *io_ptr = (unsigned long *)(_IO_BASE+port);
- /* Ensure I/O operations complete */
- __asm__ volatile("eieio");
- while (len-- > 0)
- {
- *ptr++ = (*io_ptr);
- }
-}
-
-void outsl_unswapped(int port, long *ptr, int len)
-{
- unsigned long *io_ptr = (unsigned long *)(_IO_BASE+port);
- /* Ensure I/O operations complete */
- __asm__ volatile("eieio");
- while (len-- > 0)
- {
- *io_ptr = (*ptr++);
- }
-}
diff --git a/arch/ppc/kernel/stubs.c b/arch/ppc/kernel/stubs.c
deleted file mode 100644
index e69de29bb..000000000
--- a/arch/ppc/kernel/stubs.c
+++ /dev/null
diff --git a/arch/ppc/kernel/support.c b/arch/ppc/kernel/support.c
deleted file mode 100644
index e69de29bb..000000000
--- a/arch/ppc/kernel/support.c
+++ /dev/null
diff --git a/arch/ppc/kernel/usercpy.c b/arch/ppc/kernel/usercpy.c
deleted file mode 100644
index e69de29bb..000000000
--- a/arch/ppc/kernel/usercpy.c
+++ /dev/null