From b235c7dbfec166e577bd53314cd4fd2fc4cb579d Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Tue, 18 May 2004 08:07:43 -0700 Subject: [PATCH] [PATCH] Fix incorrect PT_FPSCR definition Bryan Rosenburg pointed out that the definition of PT_FPSCR in include/asm-ppc64/ptrace.h is wrong. The patch below fixes it. --- include/asm-ppc64/ptrace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-ppc64/ptrace.h b/include/asm-ppc64/ptrace.h index 1b5b1bac44410..c4e809d699900 100644 --- a/include/asm-ppc64/ptrace.h +++ b/include/asm-ppc64/ptrace.h @@ -124,7 +124,7 @@ struct pt_regs32 { /* Kernel and userspace will both use this PT_FPSCR value. 32-bit apps will have * visibility to the asm-ppc/ptrace.h header instead of this one. */ -#define PT_FPSCR (PT_FPR0 + 32 + 1) /* each FP reg occupies 1 slot in 64-bit space */ +#define PT_FPSCR (PT_FPR0 + 32) /* each FP reg occupies 1 slot in 64-bit space */ #ifdef __KERNEL__ #define PT_FPSCR32 (PT_FPR0 + 2*32 + 1) /* each FP reg occupies 2 32-bit userspace slots */ -- 2.53.0