summaryrefslogtreecommitdiffstats
path: root/arch/um/sys-i386/asm/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-i386/asm/elf.h')
-rw-r--r--arch/um/sys-i386/asm/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/sys-i386/asm/elf.h b/arch/um/sys-i386/asm/elf.h
index a979a22a8d9f..d964a4111ac6 100644
--- a/arch/um/sys-i386/asm/elf.h
+++ b/arch/um/sys-i386/asm/elf.h
@@ -75,6 +75,8 @@ typedef struct user_i387_struct elf_fpregset_t;
pr_reg[16] = PT_REGS_SS(regs); \
} while (0);
+#define task_pt_regs(t) (&(t)->thread.regs)
+
struct task_struct;
extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu);