git: camcontrol: Force scsi_8btou64() to be inlined.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Oct 24 05:15:18 PDT 2016


commit 7574a3fc89d8ef042ddec75475daea123474348b
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Wed Oct 12 16:44:15 2016 +0300

    camcontrol: Force scsi_8btou64() to be inlined.
    
    Causes issues with -flto and likely with -Os too.
    Has to do with places where it is inlined to, small callsites thus
    comparable code size with inlineable function itself. Since code growth
    here is acceptable, make sure compiler does not decide otherwise.

Summary of changes:
 sys/bus/cam/scsi/scsi_all.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7574a3fc89d8ef042ddec75475daea123474348b


-- 
DragonFly BSD source repository



More information about the Commits mailing list