diff options
Diffstat (limited to 'include/asm-sparc64/elf.h')
| -rw-r--r-- | include/asm-sparc64/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc64/elf.h b/include/asm-sparc64/elf.h index 91458118277e..69539a8ab833 100644 --- a/include/asm-sparc64/elf.h +++ b/include/asm-sparc64/elf.h | |||
| @@ -119,7 +119,7 @@ typedef struct { | |||
| 119 | #endif | 119 | #endif |
| 120 | 120 | ||
| 121 | #define ELF_CORE_COPY_TASK_REGS(__tsk, __elf_regs) \ | 121 | #define ELF_CORE_COPY_TASK_REGS(__tsk, __elf_regs) \ |
| 122 | ({ ELF_CORE_COPY_REGS((*(__elf_regs)), (__tsk)->thread_info->kregs); 1; }) | 122 | ({ ELF_CORE_COPY_REGS((*(__elf_regs)), task_pt_regs(__tsk)); 1; }) |
| 123 | 123 | ||
| 124 | /* | 124 | /* |
| 125 | * This is used to ensure we don't load something for the wrong architecture. | 125 | * This is used to ensure we don't load something for the wrong architecture. |
