um: Rework uaccess code
[firefly-linux-kernel-4.4.55.git] / arch / x86 / um / asm / processor.h
index 2a206d2b14ab55a325236b9a871897d84b3367f4..233ee09c1ce88b44fea8366a8e0c43593abe7eb9 100644 (file)
@@ -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