summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/bitops.h11
-rw-r--r--include/asm-mips/io.h16
-rw-r--r--include/asm-mips/mipsregs.h3
-rw-r--r--include/asm-mips/processor.h3
-rw-r--r--include/asm-mips/ptrace.h3
-rw-r--r--include/asm-mips/sgidefs.h3
-rw-r--r--include/asm-mips/system.h6
7 files changed, 0 insertions, 45 deletions
diff --git a/include/asm-mips/bitops.h b/include/asm-mips/bitops.h
index 56d7225bb7..c3a600c43b 100644
--- a/include/asm-mips/bitops.h
+++ b/include/asm-mips/bitops.h
@@ -776,17 +776,6 @@ found_middle:
* holds on the Sparc as it does for the ALPHA.
*/
-#if 0 /* Fool kernel-doc since it doesn't do macros yet */
-/*
- * find_first_zero_bit - find the first zero bit in a memory region
- * @addr: The address to start the search at
- * @size: The maximum size to search
- *
- * Returns the bit-number of the first zero bit, not the number of the byte
- * containing a bit.
- */
-extern int find_first_zero_bit (void *addr, unsigned size);
-#endif
#define find_first_zero_bit(addr, size) \
find_next_zero_bit((addr), (size), 0)
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h
index 857fb0302c..30857b4ce1 100644
--- a/include/asm-mips/io.h
+++ b/include/asm-mips/io.h
@@ -12,9 +12,6 @@
#define _ASM_IO_H
#include <linux/config.h>
-#if 0
-#include <linux/pagemap.h>
-#endif
#include <asm/addrspace.h>
#include <asm/byteorder.h>
@@ -135,19 +132,6 @@ extern unsigned long isa_slot_offset;
extern void * __ioremap(unsigned long offset, unsigned long size, unsigned long flags);
-#if 0
-extern inline void *ioremap(unsigned long offset, unsigned long size)
-{
- return __ioremap(offset, size, _CACHE_UNCACHED);
-}
-
-extern inline void *ioremap_nocache(unsigned long offset, unsigned long size)
-{
- return __ioremap(offset, size, _CACHE_UNCACHED);
-}
-
-extern void iounmap(void *addr);
-#endif
/*
* XXX We need system specific versions of these to handle EISA address bits
diff --git a/include/asm-mips/mipsregs.h b/include/asm-mips/mipsregs.h
index 0586c53d3b..699c67b456 100644
--- a/include/asm-mips/mipsregs.h
+++ b/include/asm-mips/mipsregs.h
@@ -13,9 +13,6 @@
#ifndef _ASM_MIPSREGS_H
#define _ASM_MIPSREGS_H
-#if 0
-#include <linux/linkage.h>
-#endif
/*
* The following macros are especially useful for __asm__
diff --git a/include/asm-mips/processor.h b/include/asm-mips/processor.h
index 6838aee98c..84e3929dda 100644
--- a/include/asm-mips/processor.h
+++ b/include/asm-mips/processor.h
@@ -22,9 +22,6 @@
#define current_text_addr() ({ __label__ _l; _l: &&_l;})
#if !defined (_LANGUAGE_ASSEMBLY)
-#if 0
-#include <linux/threads.h>
-#endif
#include <asm/cachectl.h>
#include <asm/mipsregs.h>
#include <asm/reg.h>
diff --git a/include/asm-mips/ptrace.h b/include/asm-mips/ptrace.h
index 2517adb2a8..7377cb2ca7 100644
--- a/include/asm-mips/ptrace.h
+++ b/include/asm-mips/ptrace.h
@@ -64,9 +64,6 @@ struct pt_regs {
/* options set using PTRACE_SETOPTIONS */
#define PTRACE_O_TRACESYSGOOD 0x00000001
-#if 0 /* def _LANGUAGE_ASSEMBLY */
-#include <asm/offset.h>
-#endif
#ifdef __KERNEL__
diff --git a/include/asm-mips/sgidefs.h b/include/asm-mips/sgidefs.h
index 67f2658958..47d4a32bce 100644
--- a/include/asm-mips/sgidefs.h
+++ b/include/asm-mips/sgidefs.h
@@ -14,9 +14,6 @@
* Using a Linux compiler for building Linux seems logic but not to
* everybody.
*/
-#if 0 /* ndef __linux__ */
-#error Use a Linux compiler or give up.
-#endif
/*
* Definitions for the ISA levels
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h
index b6d50e2f04..9e8132208d 100644
--- a/include/asm-mips/system.h
+++ b/include/asm-mips/system.h
@@ -19,9 +19,6 @@
#include <linux/config.h>
#include <asm/sgidefs.h>
#include <asm/ptrace.h>
-#if 0
-#include <linux/kernel.h>
-#endif
extern __inline__ void
__sti(void)
@@ -193,9 +190,6 @@ do { var = value; wmb(); } while (0)
* switch_to(n) should switch tasks to task nr n, first
* checking that n isn't the current task, in which case it does nothing.
*/
-#if 0
-extern asmlinkage void *resume(void *last, void *next);
-#endif
#endif /* !defined (_LANGUAGE_ASSEMBLY) */
#define prepare_to_switch() do { } while(0)