Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/marvell Make the result an early clobber so...



details:   https://anonhg.NetBSD.org/src/rev/97f5def821b7
branches:  trunk
changeset: 544282:97f5def821b7
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Mar 16 06:56:47 2003 +0000

description:
Make the result an early clobber so gcc won't get clever.

diffstat:

 sys/arch/powerpc/marvell/extintr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 45f70f09afbc -r 97f5def821b7 sys/arch/powerpc/marvell/extintr.c
--- a/sys/arch/powerpc/marvell/extintr.c        Sun Mar 16 06:55:47 2003 +0000
+++ b/sys/arch/powerpc/marvell/extintr.c        Sun Mar 16 06:56:47 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extintr.c,v 1.4 2003/03/15 19:51:48 matt Exp $ */
+/*     $NetBSD: extintr.c,v 1.5 2003/03/16 06:56:47 matt Exp $ */
 
 /*
  * Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
@@ -270,7 +270,7 @@
                "       stwcx.  %1,0,%2\n"
                "       bne-    1b\n"
                "       sync"
-          :    "=r"(pendisr)
+          :    "=&r"(pendisr)
           :    "r"(0), "r"(&netisr)
           :    "cr0");
        softnet(pendisr);



Home | Main Index | Thread Index | Old Index