lkml.org 
[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.8.1-mm2
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@in.ibm.com>


---

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.180 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site