Subject: CVS commit: src/sys/arch/arm
To: None <source-changes@NetBSD.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 01/13/2008 11:19:05
Module Name: src
Committed By: chris
Date: Sun Jan 13 11:19:05 UTC 2008
Modified Files:
src/sys/arch/arm/arm32: atomic.S
src/sys/arch/arm/include: atomic.h
Log Message:
When manipulating the interrupt status for atomic ops use cpsr_c rather
than cpsr_all, this avoids updating unnecessary fields in the cpsr.
As a side effect, the inline versions no longer clobber the condition
codes.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/arch/arm/arm32/atomic.S
cvs rdiff -r1.9 -r1.10 src/sys/arch/arm/include/atomic.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.