svn commit: r251038 - head/sys/amd64/ia32
Konstantin Belousov
kib at FreeBSD.org
Mon May 27 18:36:46 UTC 2013
Author: kib
Date: Mon May 27 18:36:46 2013
New Revision: 251038
URL: http://svnweb.freebsd.org/changeset/base/251038
Log:
The _MC_HASFPXSTATE and _MC_IA32_HASFPXSTATE flags have the same bit
value on purpose, but the ia32 context handling code is logically more
correct to use the _MC_IA32_HASFPXSTATE name for the flag.
Tested by: dim, pgj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/amd64/ia32/ia32_signal.c
Modified: head/sys/amd64/ia32/ia32_signal.c
==============================================================================
--- head/sys/amd64/ia32/ia32_signal.c Mon May 27 18:31:15 2013 (r251037)
+++ head/sys/amd64/ia32/ia32_signal.c Mon May 27 18:36:46 2013 (r251038)
@@ -112,7 +112,7 @@ ia32_get_fpcontext(struct thread *td, st
len = max_len;
bzero(xfpusave + max_len, len - max_len);
}
- mcp->mc_flags |= _MC_HASFPXSTATE;
+ mcp->mc_flags |= _MC_IA32_HASFPXSTATE;
mcp->mc_xfpustate_len = len;
bcopy(get_pcb_user_save_td(td) + 1, xfpusave, len);
}
More information about the svn-src-all
mailing list