On 01/10/16 09:27, Justin Hibbits wrote:
On Sun, Jan 10, 2016 at 10:42 AM, Nathan Whitehorn
<nwhiteh...@freebsd.org> wrote:
Author: nwhitehorn
Date: Sun Jan 10 16:42:14 2016
New Revision: 293636
URL: https://svnweb.freebsd.org/changeset/base/293636

Log:
   Use setjmp() instead of the identical-except-for-having-a-wrong-prototype
   setfault() when testing for faults. This should also help the compiler
   do the right thing with this complicated-to-optimize function.

Modified:
   head/sys/powerpc/include/pcb.h
   head/sys/powerpc/include/setjmp.h
   head/sys/powerpc/ofw/rtas.c
   head/sys/powerpc/powermac/grackle.c
   head/sys/powerpc/powerpc/copyinout.c
   head/sys/powerpc/powerpc/mp_machdep.c
   head/sys/powerpc/powerpc/trap.c

Does this mean the assembly function can be removed now from locore*.S?


Yes, that will be a follow-up commit in a few minutes along with some other dead code removal.
-Nathan
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to