fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / arch / v850 / kernel / ptrace.c
index 6e2adab..cd759ca 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/smp_lock.h>
 #include <linux/ptrace.h>
 #include <linux/signal.h>
+#include <linux/vs_base.h>
 
 #include <asm/errno.h>
 #include <asm/ptrace.h>
@@ -117,7 +118,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
 {
        int rval;
 
-       if (!vx_check(vx_task_xid(child), VX_WATCH|VX_IDENT))
+       if (!vx_check(vx_task_xid(child), VS_WATCH_P|VS_IDENT))
                goto out;
 
        switch (request) {