summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/ptrace.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-04-16 12:58:47 +0400
committerMichal Simek <monstr@monstr.eu>2009-04-23 18:09:17 +0400
commitac3efab50621bd6d01e5b40f3134dc7824788390 (patch)
treeddca584e69e6e1b726695169c8d5cec8e8160482 /arch/microblaze/include/asm/ptrace.h
parentceb8944b3a3dd3ec4094a476a44802cc32c4fc02 (diff)
downloadlinux-ac3efab50621bd6d01e5b40f3134dc7824788390.tar.xz
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.h4
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 {
microblaze_reg_t ear;
microblaze_reg_t esr;
microblaze_reg_t fsr;
- int kernel_mode;
+ int pt_mode;
};
-#define kernel_mode(regs) ((regs)->kernel_mode)
+#define kernel_mode(regs) ((regs)->pt_mode)
#define user_mode(regs) (!kernel_mode(regs))
#define instruction_pointer(regs) ((regs)->pc)