summaryrefslogtreecommitdiff
path: root/arch/x86/um/asm/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/asm/processor.h')
-rw-r--r--arch/x86/um/asm/processor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/um/asm/processor.h b/arch/x86/um/asm/processor.h
index 2a206d2b14ab..233ee09c1ce8 100644
--- a/arch/x86/um/asm/processor.h
+++ b/arch/x86/um/asm/processor.h
@@ -28,6 +28,8 @@ static inline void rep_nop(void)
#define cpu_relax() rep_nop()
#define cpu_relax_lowlatency() cpu_relax()
+#define task_pt_regs(t) (&(t)->thread.regs)
+
#include <asm/processor-generic.h>
#endif