i386/169730: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Mon Jul 16 02:20:10 UTC 2012
The following reply was made to PR i386/169730; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: i386/169730: commit references a PR
Date: Mon, 16 Jul 2012 02:10:37 +0000 (UTC)
Author: davidxu
Date: Mon Jul 16 02:10:26 2012
New Revision: 238513
URL: http://svn.freebsd.org/changeset/base/238513
Log:
MFC r238328:
Executing CPUID with EAX set to 1 to actually get feature flags.
PR: 169730
Approved by: re (kib)
Modified:
stable/9/lib/libc/i386/gen/getcontextx.c
Directory Properties:
stable/9/lib/libc/ (props changed)
Modified: stable/9/lib/libc/i386/gen/getcontextx.c
==============================================================================
--- stable/9/lib/libc/i386/gen/getcontextx.c Mon Jul 16 00:21:05 2012 (r238512)
+++ stable/9/lib/libc/i386/gen/getcontextx.c Mon Jul 16 02:10:26 2012 (r238513)
@@ -68,7 +68,7 @@ __getcontextx_size(void)
" movl %%ebx,%1\n"
" popl %%ebx\n"
: "=a" (p[0]), "=r" (p[1]), "=c" (p[2]), "=d" (p[3])
- : "0" (0x0));
+ : "0" (0x1));
if ((p[2] & CPUID2_OSXSAVE) != 0) {
__asm __volatile(
" pushl %%ebx\n"
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-i386
mailing list