Subject: CVS commit: [netbsd-2-0] src/sys/arch/sparc/sparc
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 03/16/2005 12:16:11
Module Name:	src
Committed By:	tron
Date:		Wed Mar 16 12:16:11 UTC 2005

Modified Files:
	src/sys/arch/sparc/sparc [netbsd-2-0]: trap.c

Log Message:
Pull up revision 1.156 (requested by chs in ticket #1158):
sun4c hardware reports faults by the atomic load/store instructions as
read faults even if the problem was that the memory was read-only.
detect this case and relabel the fault as both read and write.
part of PR 25633, PR 25896.


To generate a diff of this commit:
cvs rdiff -r1.153.2.1 -r1.153.2.2 src/sys/arch/sparc/sparc/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.