summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/elf.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 10:05:43 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 18:08:52 +0100
commit26ecbdea4bf46b0165db4aafd8e4981b4db53936 (patch)
tree16d743692c32f465a5c73b3f051bd87c87ba08ae /include/asm-sparc64/elf.h
parent[PATCH] sparc64: task_stack_page() (diff)
downloadlinux-26ecbdea4bf46b0165db4aafd8e4981b4db53936.tar.xz
linux-26ecbdea4bf46b0165db4aafd8e4981b4db53936.zip
[PATCH] sparc64: task_pt_regs()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sparc64/elf.h')
-rw-r--r--include/asm-sparc64/elf.h2
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 {
#endif
#define ELF_CORE_COPY_TASK_REGS(__tsk, __elf_regs) \
- ({ ELF_CORE_COPY_REGS((*(__elf_regs)), (__tsk)->thread_info->kregs); 1; })
+ ({ ELF_CORE_COPY_REGS((*(__elf_regs)), task_pt_regs(__tsk)); 1; })
/*
* This is used to ensure we don't load something for the wrong architecture.