diff options
Diffstat (limited to 'arch/um/include/task.h')
-rw-r--r-- | arch/um/include/task.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/task.h b/arch/um/include/task.h index 6375ba7203c9..3fe726b3cf48 100644 --- a/arch/um/include/task.h +++ b/arch/um/include/task.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | #include <kern_constants.h> | 4 | #include <kern_constants.h> |
5 | 5 | ||
6 | #define TASK_REGS(task) ((union uml_pt_regs *) &(((char *) (task))[HOST_TASK_REGS])) | 6 | #define TASK_REGS(task) ((struct uml_pt_regs *) &(((char *) (task))[HOST_TASK_REGS])) |
7 | #define TASK_PID(task) *((int *) &(((char *) (task))[HOST_TASK_PID])) | 7 | #define TASK_PID(task) *((int *) &(((char *) (task))[HOST_TASK_PID])) |
8 | 8 | ||
9 | #endif | 9 | #endif |