aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/task.h')
-rw-r--r--arch/um/include/task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/task.h b/arch/um/include/task.h
index 6375ba7203c..3fe726b3cf4 100644
--- a/arch/um/include/task.h
+++ b/arch/um/include/task.h
@@ -3,7 +3,7 @@
#include <kern_constants.h>
-#define TASK_REGS(task) ((union uml_pt_regs *) &(((char *) (task))[HOST_TASK_REGS]))
+#define TASK_REGS(task) ((struct uml_pt_regs *) &(((char *) (task))[HOST_TASK_REGS]))
#define TASK_PID(task) *((int *) &(((char *) (task))[HOST_TASK_PID]))
#endif