diff options
Diffstat (limited to 'arch/um/kernel/tt/process_kern.c')
-rw-r--r-- | arch/um/kernel/tt/process_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/tt/process_kern.c b/arch/um/kernel/tt/process_kern.c index 1e86f0bfef72..c631303cb800 100644 --- a/arch/um/kernel/tt/process_kern.c +++ b/arch/um/kernel/tt/process_kern.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include "asm/tlbflush.h" | 14 | #include "asm/tlbflush.h" |
15 | #include "irq_user.h" | 15 | #include "irq_user.h" |
16 | #include "kern_util.h" | 16 | #include "kern_util.h" |
17 | #include "user_util.h" | ||
18 | #include "os.h" | 17 | #include "os.h" |
19 | #include "kern.h" | 18 | #include "kern.h" |
20 | #include "sigcontext.h" | 19 | #include "sigcontext.h" |
@@ -65,7 +64,8 @@ void switch_to_tt(void *prev, void *next) | |||
65 | if(from->thread.mode.tt.switch_pipe[0] == -1) | 64 | if(from->thread.mode.tt.switch_pipe[0] == -1) |
66 | os_kill_process(os_getpid(), 0); | 65 | os_kill_process(os_getpid(), 0); |
67 | 66 | ||
68 | err = os_read_file(from->thread.mode.tt.switch_pipe[0], &c, sizeof(c)); | 67 | err = os_read_file(from->thread.mode.tt.switch_pipe[0], &c, |
68 | sizeof(c)); | ||
69 | if(err != sizeof(c)) | 69 | if(err != sizeof(c)) |
70 | panic("read of switch_pipe failed, errno = %d", -err); | 70 | panic("read of switch_pipe failed, errno = %d", -err); |
71 | 71 | ||