5042 stop using deprecated atomic functions
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>
5043 remove deprecated atomic functions' prototypes
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
5044 define static inlines for most often used atomic functions
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
5045 use atomic_{inc,dec}_* instead of atomic_add_*
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
5046 comstar: use the correct type instead of casting all the time
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Eric Diven <eric.diven@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
5047 don't use atomic_*_nv if you discard the return value
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
5081 mpt_sas watchdog timout needs to be initialized earlier
5080 potential memory leak in mpt_sas
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>
	[illumos-gate merge]

commit c65ceeb86e91d6d94cf15d4cb9884845c2ce8a04
    5081 mpt_sas watchdog timout needs to be initialized earlier
    5080 potential memory leak in mpt_sas
commit 640c1670a105457bb0040e8e11037b53ab6ebcfa
    5047 don't use atomic_*_nv if you discard the return value
commit 9c68c0524222ca5eac2fb0835154553c1cdaa96c
    5046 comstar: use the correct type instead of casting all the time
commit 1a5e258f5471356ca102c7176637cdce45bac147
    5045 use atomic_{inc,dec}_* instead of atomic_add_*
commit febac2a0e9cb29c6762618e32b7ca73916512d7f
    5044 define static inlines for most often used atomic functions
commit 6ed9368a130d7c9a82e574da808d34034da33748
    5043 remove deprecated atomic functions' prototypes
commit 75d94465dbafa487b716482dc36d5150a4ec9853
    5042 stop using deprecated atomic functions