Re: 2.6.8.1-mm2

From: Srivatsa Vaddagiri
Date: Fri Aug 20 2004 - 01:17:30 EST


On Thu, Aug 19, 2004 at 08:49:17AM +0000, Andrew Morton wrote:
> ppc64-fix-v_regs-pointer-setup.patch
> ppc64: Fix v_regs pointer setup

Paul rightly pointed out that is should be +15 and not +16. My mistake.
Updated ppc64-fix-v_regs-pointer-setup.patch below:


Signed-off-by : Srivatsa Vaddagiri <vatsa@xxxxxxxxxx>


---

linux-2.6.8.1-mm2-vatsa/arch/ppc64/kernel/signal.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/ppc64/kernel/signal.c~ppc64-fix-v_regs-pointer-setup arch/ppc64/kernel/signal.c
--- linux-2.6.8.1-mm2/arch/ppc64/kernel/signal.c~ppc64-fix-v_regs-pointer-setup 2004-08-20 11:43:05.000000000 +0530
+++ linux-2.6.8.1-mm2-vatsa/arch/ppc64/kernel/signal.c 2004-08-20 11:43:22.000000000 +0530
@@ -127,7 +127,7 @@ static long setup_sigcontext(struct sigc
* v_regs pointer or not
*/
#ifdef CONFIG_ALTIVEC
- elf_vrreg_t __user *v_regs = (elf_vrreg_t __user *)(((unsigned long)sc->vmx_reserve + 16) & ~0xful);
+ elf_vrreg_t __user *v_regs = (elf_vrreg_t __user *)(((unsigned long)sc->vmx_reserve + 15) & ~0xful);
#endif
long err = 0;


_

_

--


Thanks and Regards,
Srivatsa Vaddagiri,
Linux Technology Center,
IBM Software Labs,
Bangalore, INDIA - 560017
-
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/