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:
Robert Baldyga 2018-12-18 09:17:39 +01:00
parent 76d4d98e0c
commit d73e0512b1

View File

@ -81,7 +81,7 @@ static ocf_cache_line_t ocf_metadata_hash_get_entires(
return cache_lines;
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;
case metadata_segment_sb_config: