Fix OCF compilation - use new macro name
This looks like during change from DIV_ROUND_UP to OCF_DIV_ROUND_UP this one occurrence has been missed. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
76d4d98e0c
commit
d73e0512b1
@ -81,7 +81,7 @@ static ocf_cache_line_t ocf_metadata_hash_get_entires(
|
|||||||
return cache_lines;
|
return cache_lines;
|
||||||
|
|
||||||
case metadata_segment_hash:
|
case metadata_segment_hash:
|
||||||
return DIV_ROUND_UP(cache_lines / 4, OCF_HASH_PRIME) *
|
return OCF_DIV_ROUND_UP(cache_lines / 4, OCF_HASH_PRIME) *
|
||||||
OCF_HASH_PRIME - 1;
|
OCF_HASH_PRIME - 1;
|
||||||
|
|
||||||
case metadata_segment_sb_config:
|
case metadata_segment_sb_config:
|
||||||
|
Loading…
Reference in New Issue
Block a user