|
@@ -272,7 +272,6 @@ struct compat_shmid64_ds {
|
|
|
/*
|
|
|
* The type of struct elf_prstatus.pr_reg in compatible core dumps.
|
|
|
*/
|
|
|
-#ifdef CONFIG_X86_X32_ABI
|
|
|
typedef struct user_regs_struct compat_elf_gregset_t;
|
|
|
|
|
|
/* Full regset -- prstatus on x32, otherwise on ia32 */
|
|
@@ -281,10 +280,9 @@ typedef struct user_regs_struct compat_elf_gregset_t;
|
|
|
do { *(int *) (((void *) &((S)->pr_reg)) + R) = (V); } \
|
|
|
while (0)
|
|
|
|
|
|
+#ifdef CONFIG_X86_X32_ABI
|
|
|
#define COMPAT_USE_64BIT_TIME \
|
|
|
(!!(task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT))
|
|
|
-#else
|
|
|
-typedef struct user_regs_struct32 compat_elf_gregset_t;
|
|
|
#endif
|
|
|
|
|
|
/*
|