diff options
author | jdike <jdike> | 2003-11-10 23:02:46 +0000 |
---|---|---|
committer | jdike <jdike> | 2003-11-10 23:02:46 +0000 |
commit | 7ac9f66915af7188a5c0655ed406f5d1cb17b6b2 (patch) | |
tree | 17f16c405071556c067d47b77e3ed565c7128032 | |
parent | da668d798d225f86270645066b153ab9d5f373be (diff) | |
download | uml-history-7ac9f66915af7188a5c0655ed406f5d1cb17b6b2.tar.gz |
Moved the OP_* enum to a tt header file.
-rw-r--r-- | arch/um/include/user_util.h | 2 | ||||
-rw-r--r-- | arch/um/kernel/tt/exec_kern.c | 1 | ||||
-rw-r--r-- | arch/um/kernel/tt/include/mode.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h index 8b9bbc0..929576b 100644 --- a/arch/um/include/user_util.h +++ b/arch/um/include/user_util.h @@ -14,8 +14,6 @@ extern int grantpt(int __fd); extern int unlockpt(int __fd); extern char *ptsname(int __fd); -enum { OP_NONE, OP_EXEC, OP_FORK, OP_TRACE_ON, OP_REBOOT, OP_HALT, OP_CB }; - struct cpu_task { int pid; void *task; diff --git a/arch/um/kernel/tt/exec_kern.c b/arch/um/kernel/tt/exec_kern.c index b928324..12fbbd0 100644 --- a/arch/um/kernel/tt/exec_kern.c +++ b/arch/um/kernel/tt/exec_kern.c @@ -16,6 +16,7 @@ #include "mem_user.h" #include "os.h" #include "tlb.h" +#include "mode.h" static int exec_tramp(void *sig_stack) { diff --git a/arch/um/kernel/tt/include/mode.h b/arch/um/kernel/tt/include/mode.h index 83d94ab..1a64e75 100644 --- a/arch/um/kernel/tt/include/mode.h +++ b/arch/um/kernel/tt/include/mode.h @@ -8,6 +8,8 @@ #include "sysdep/ptrace.h" +enum { OP_NONE, OP_EXEC, OP_FORK, OP_TRACE_ON, OP_REBOOT, OP_HALT, OP_CB }; + extern int tracing_pid; extern int tracer(int (*init_proc)(void *), void *sp); |