Replacing some integral typedefs with standard types
[libcds.git] / cds / compiler / gcc / amd64 / bitop.h
index b83384cf803f6cf655190d9e2cc653691575e148..5edd78fd952778d4475c8af862bc4a31b6adb08f 100644 (file)
@@ -8,7 +8,7 @@ namespace cds {
     namespace bitop { namespace platform { namespace gcc { namespace amd64 {
         // MSB - return index (1..32) of most significant bit in nArg. If nArg == 0 return 0
 #        define cds_bitop_msb32_DEFINED
-        static inline int msb32( atomic32u_t nArg )
+        static inline int msb32( uint32_t nArg )
         {
             int        nRet;
             __asm__ __volatile__ (
@@ -26,7 +26,7 @@ namespace cds {
         }
 
 #        define cds_bitop_msb32nz_DEFINED
-        static inline int msb32nz( atomic32u_t nArg )
+        static inline int msb32nz( uint32_t nArg )
         {
             assert( nArg != 0 );
             int        nRet;
@@ -41,7 +41,7 @@ namespace cds {
 
         // LSB - return index (0..31) of least significant bit in nArg. If nArg == 0 return -1U
 #        define cds_bitop_lsb32_DEFINED
-        static inline int lsb32( atomic32u_t nArg )
+        static inline int lsb32( uint32_t nArg )
         {
 
             int        nRet;
@@ -63,7 +63,7 @@ namespace cds {
         // LSB - return index (0..31) of least significant bit in nArg.
         // Condition: nArg != 0
 #        define cds_bitop_lsb32nz_DEFINED
-        static inline int lsb32nz( atomic32u_t nArg )
+        static inline int lsb32nz( uint32_t nArg )
         {
             assert( nArg != 0 );
             int        nRet;