1 Dec 2009 01:02
[PATCH -next] [Cleanup] x86: Fix comments of register/stack access functions
Masami Hiramatsu <mhiramat <at> redhat.com>
2009-12-01 00:02:22 GMT
2009-12-01 00:02:22 GMT
Fix typos and some redundant comments of register/stack access functions in asm/ptrace.h. Signed-off-by: Masami Hiramatsu <mhiramat <at> redhat.com> Suggested-by: Wenji Huang <wenji.huang <at> oracle.com> --- arch/x86/include/asm/ptrace.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/ptrace.h b/arch/x86/include/asm/ptrace.h index a3d49dd..3d11fd0 100644 --- a/arch/x86/include/asm/ptrace.h +++ b/arch/x86/include/asm/ptrace.h <at> <at> -227,8 +227,8 <at> <at> extern const char *regs_query_register_name(unsigned int offset); * <at> regs: pt_regs from which register value is gotten. * <at> offset: offset number of the register. * - * regs_get_register returns the value of a register whose offset from <at> regs - * is <at> offset. The <at> offset is the offset of the register in struct pt_regs. + * regs_get_register returns the value of a register. The <at> offset is the + * offset of the register in struct pt_regs address which specified by <at> regs. * If <at> offset is bigger than MAX_REG_OFFSET, this returns 0. */ static inline unsigned long regs_get_register(struct pt_regs *regs, <at> <at> -244,7 +244,7 <at> <at> static inline unsigned long regs_get_register(struct pt_regs *regs, * <at> regs: pt_regs which contains kernel stack pointer. * <at> addr: address which is checked. * - * regs_within_kenel_stack() checks <at> addr is within the kernel stack page(s).(Continue reading)
RSS Feed