This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / mips / kernel / syscall.c
index 5d8ec65..bdd7fbb 100644 (file)
@@ -25,8 +25,6 @@
 #include <linux/msg.h>
 #include <linux/shm.h>
 #include <linux/vs_cvirt.h>
-#include <linux/compiler.h>
-#include <linux/vs_cvirt.h>
 
 #include <asm/branch.h>
 #include <asm/cachectl.h>
@@ -68,7 +66,7 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr,
        int do_color_align;
        unsigned long task_size;
 
-#ifdef CONFIG_MIPS32
+#if CONFIG_MIPS32
        task_size = TASK_SIZE;
 #else
        task_size = (current->thread.mflags & MF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE;
@@ -165,15 +163,13 @@ sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot,
 }
 
 save_static_function(sys_fork);
-__attribute_used__ noinline static int
-_sys_fork(nabi_no_regargs struct pt_regs regs)
+static_unused int _sys_fork(nabi_no_regargs struct pt_regs regs)
 {
        return do_fork(SIGCHLD, regs.regs[29], &regs, 0, NULL, NULL);
 }
 
 save_static_function(sys_clone);
-__attribute_used__ noinline static int
-_sys_clone(nabi_no_regargs struct pt_regs regs)
+static_unused int _sys_clone(nabi_no_regargs struct pt_regs regs)
 {
        unsigned long clone_flags;
        unsigned long newsp;