Re: [PATCH 1/2] x86: unify pt_regs accessors ptrace.h

From: H. Peter Anvin
Date: Thu Jan 17 2008 - 21:02:55 EST


Harvey Harrison wrote:
Unify the definiton of:
v8086_mode
user_mode
user_mode_vm
stack_pointer
instruction_pointer
frame_pointer

in ptrace.h to make it clear where the differences are between
32 and 64 bit. Changes macros to static inlines as well.


Can you put a comment on stack_pointer() that it applies to a kernel-mode pt_regs only?

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/