This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / sparc64 / kernel / process.c
index 145ce7c..7f03853 100644 (file)
@@ -12,7 +12,6 @@
 
 #include <stdarg.h>
 
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/module.h>
 #include <linux/sched.h>
@@ -29,7 +28,6 @@
 #include <linux/config.h>
 #include <linux/reboot.h>
 #include <linux/delay.h>
-#include <linux/compat.h>
 #include <linux/init.h>
 
 #include <asm/oplib.h>
@@ -590,13 +588,10 @@ asmlinkage long sparc_do_fork(unsigned long clone_flags,
 
        clone_flags &= ~CLONE_IDLETASK;
 
-#ifdef CONFIG_COMPAT
        if (test_thread_flag(TIF_32BIT)) {
                parent_tid_ptr = compat_ptr(regs->u_regs[UREG_I2]);
                child_tid_ptr = compat_ptr(regs->u_regs[UREG_I4]);
-       } else
-#endif
-       {
+       } else {
                parent_tid_ptr = (int __user *) regs->u_regs[UREG_I2];
                child_tid_ptr = (int __user *) regs->u_regs[UREG_I4];
        }