diff options
author | akpm@osdl.org <akpm@osdl.org> | 2006-01-12 01:05:37 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 09:08:50 -0800 |
commit | e52f4ca2a7cfea3495cabae23d48f1538f09ccf2 (patch) | |
tree | d924a14c6e64a768faf98eb19deb5b7e81ca9934 /include/asm-alpha/ptrace.h | |
parent | 27f451304aa6f2bccf34ef3c2b049c01d05d6fff (diff) | |
download | kernel_samsung_aries-e52f4ca2a7cfea3495cabae23d48f1538f09ccf2.zip kernel_samsung_aries-e52f4ca2a7cfea3495cabae23d48f1538f09ccf2.tar.gz kernel_samsung_aries-e52f4ca2a7cfea3495cabae23d48f1538f09ccf2.tar.bz2 |
[PATCH] alpha: task_pt_regs()
)
From: Al Viro <viro@ftp.linux.org.uk>
rename alpha_task_regs() to task_pt_regs(), switch open-coded instances
to use of the helper.
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-alpha/ptrace.h')
-rw-r--r-- | include/asm-alpha/ptrace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-alpha/ptrace.h b/include/asm-alpha/ptrace.h index 994680b..9933b8b 100644 --- a/include/asm-alpha/ptrace.h +++ b/include/asm-alpha/ptrace.h @@ -75,10 +75,10 @@ struct switch_stack { #define profile_pc(regs) instruction_pointer(regs) extern void show_regs(struct pt_regs *); -#define alpha_task_regs(task) \ +#define task_pt_regs(task) \ ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1) -#define force_successful_syscall_return() (alpha_task_regs(current)->r0 = 0) +#define force_successful_syscall_return() (task_pt_regs(current)->r0 = 0) #endif |