>Hi all,
>
>I am currently porting a driver from Linux to Solaris. The driver code 
>makes use of the likely macro that is defined on Linux to tell the 
>compiler that the code inside the likely call is the most likely code 
>path to optimize it.
>
>Does someone know if it is available on Solaris as well and where I can 
>find some information/documentation on this.


Is that someone similar to:

#pragma rarely_called(set_errno)

(except that it is the reverse; don't optimize calls to set_errno(),
panic(), etc)

Casper


_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to