NetBSD-Bugs archive

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

PR/45673 CVS commit: [netbsd-6] src/sys/arch/x86/include

The following reply was made to PR toolchain/45673; it has been noted by GNATS.

From: "Jeff Rizzo" <>
Subject: PR/45673 CVS commit: [netbsd-6] src/sys/arch/x86/include
Date: Wed, 17 Oct 2012 22:39:27 +0000

 Module Name:   src
 Committed By:  riz
 Date:          Wed Oct 17 22:39:26 UTC 2012
 Modified Files:
        src/sys/arch/x86/include [netbsd-6]: lock.h
 Log Message:
 Pull up following revision(s) (requested by apb in ticket #606):
        sys/arch/x86/include/lock.h: revision 1.26
 Change "=r" to "=qQ" in a register constraint in an asm statement
 for a register that is used with the "xchgb" instruction in the
 definition of __cpu_simple_lock_try().  This fixes PR 45673, or at
 least works around the gcc bug that might be behind PR 45673.
 The output from "objdump -d" before and after this change is
 identical, for the amd64 GENERIC kernel, the i386 GENERIC kernel,
 and the i386 MONOLITHIC kernel.
 To generate a diff of this commit:
 cvs rdiff -u -r1.25 -r1.25.20.1 src/sys/arch/x86/include/lock.h
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index