CVS commit: src/sys/arch/vax/include

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Thu Mar 19 04:38:07 UTC 2026

Modified Files:
	src/sys/arch/vax/include: lwp_private.h

Log Message:
vax __lwp_getprivate_fast: Fix asm constraints.

r0 is not clobbered; it is the output.  So say so.

No volatile is needed here, and volatile would be wrong, because
calls to __lwp_getprivate_fast can be safely deleted if the result is
not used.

PR port-vax/60101: vax: __lwp_getprivate_fast() inline asm uses
GCC-specific register variable pattern, not portable


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/vax/include/lwp_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.