Author: br Date: Tue Aug 14 16:26:44 2018 New Revision: 337769 URL: https://svnweb.freebsd.org/changeset/base/337769
Log: Avoid repeated address calculation for malta_ap_boot. Submitted by: "James Clarke" <[email protected]> Reviewed by: br, arichardson Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D16655 Modified: head/sys/mips/malta/asm_malta.S Modified: head/sys/mips/malta/asm_malta.S ============================================================================== --- head/sys/mips/malta/asm_malta.S Tue Aug 14 16:25:09 2018 (r337768) +++ head/sys/mips/malta/asm_malta.S Tue Aug 14 16:26:44 2018 (r337769) @@ -73,13 +73,15 @@ LEAF(malta_ap_wait) jal platform_processor_id nop + PTR_LA t1, malta_ap_boot + 1: - ll t0, malta_ap_boot + ll t0, 0(t1) bne v0, t0, 1b nop move t0, zero - sc t0, malta_ap_boot + sc t0, 0(t1) beqz t0, 1b nop _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
