Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/powerpc PR/13652: Katsuomi Hamajima: F...



details:   https://anonhg.NetBSD.org/src/rev/40ef4b783ca3
branches:  trunk
changeset: 513697:40ef4b783ca3
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 08 13:23:34 2001 +0000

description:
PR/13652: Katsuomi Hamajima: Fix compile error.

diffstat:

 sys/compat/linux/arch/powerpc/linux_exec_powerpc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 11f0e0ab9213 -r 40ef4b783ca3 sys/compat/linux/arch/powerpc/linux_exec_powerpc.c
--- a/sys/compat/linux/arch/powerpc/linux_exec_powerpc.c        Wed Aug 08 11:35:12 2001 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_exec_powerpc.c        Wed Aug 08 13:23:34 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec_powerpc.c,v 1.4 2001/07/29 21:28:45 christos Exp $ */
+/* $NetBSD: linux_exec_powerpc.c,v 1.5 2001/08/08 13:23:34 christos Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
         * aligned address. And we need one more 16 byte shift if it was already
         * 16 bytes aligned,    
         */
-       *stackp = (char *)((unsigned long)*stackp - 1) & ~LINUX_SHIFT; 
+       *stackp = (char *)(((unsigned long)*stackp - 1) & ~LINUX_SHIFT);
 #endif
 
        if ((error = copyargs(pack, arginfo, stackp, argp)) != 0)



Home | Main Index | Thread Index | Old Index