This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / um / sys-i386 / ptrace.c
index 42322d8..817ef74 100644 (file)
@@ -7,7 +7,6 @@
 #include "asm/elf.h"
 #include "asm/ptrace.h"
 #include "asm/uaccess.h"
-#include "asm/unistd.h"
 #include "ptrace_user.h"
 #include "sysdep/sigcontext.h"
 #include "sysdep/sc.h"
@@ -24,12 +23,11 @@ int is_syscall(unsigned long addr)
 
        n = copy_from_user(&instr, (void *) addr, sizeof(instr));
        if(n){
-               printk("is_syscall : failed to read instruction from 0x%lx\n",
+               printk("is_syscall : failed to read instruction from 0x%lu\n", 
                       addr);
                return(0);
        }
-       /* int 0x80 or sysenter */
-       return((instr == 0x80cd) || (instr == 0x340f));
+       return(instr == 0x80cd);
 }
 
 /* determines which flags the user has access to. */