mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
util: New function log_2_floor().
Calculates the position of the most significant bit in a 32 bit word.
This commit is contained in:
@@ -194,6 +194,7 @@ char *base_name(const char *file_name);
|
||||
char *abs_file_name(const char *dir, const char *file_name);
|
||||
|
||||
void ignore(bool x OVS_UNUSED);
|
||||
int log_2_floor(uint32_t n);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user