diff options
author | Michal Simek <monstr@monstr.eu> | 2009-04-16 04:58:47 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-04-23 10:09:17 -0400 |
commit | ac3efab50621bd6d01e5b40f3134dc7824788390 (patch) | |
tree | ddca584e69e6e1b726695169c8d5cec8e8160482 /arch/microblaze/include/asm/ptrace.h | |
parent | ceb8944b3a3dd3ec4094a476a44802cc32c4fc02 (diff) |
microblaze: Rename kernel_mode to pt_mode in pt_regs
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/ptrace.h')
-rw-r--r-- | arch/microblaze/include/asm/ptrace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/ptrace.h b/arch/microblaze/include/asm/ptrace.h index f1f03486428a..55015bce5e47 100644 --- a/arch/microblaze/include/asm/ptrace.h +++ b/arch/microblaze/include/asm/ptrace.h | |||
@@ -52,10 +52,10 @@ struct pt_regs { | |||
52 | microblaze_reg_t ear; | 52 | microblaze_reg_t ear; |
53 | microblaze_reg_t esr; | 53 | microblaze_reg_t esr; |
54 | microblaze_reg_t fsr; | 54 | microblaze_reg_t fsr; |
55 | int kernel_mode; | 55 | int pt_mode; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | #define kernel_mode(regs) ((regs)->kernel_mode) | 58 | #define kernel_mode(regs) ((regs)->pt_mode) |
59 | #define user_mode(regs) (!kernel_mode(regs)) | 59 | #define user_mode(regs) (!kernel_mode(regs)) |
60 | 60 | ||
61 | #define instruction_pointer(regs) ((regs)->pc) | 61 | #define instruction_pointer(regs) ((regs)->pc) |