Merge pull request #21 from robertbaldyga/ocf-div-round-up

Fix OCF compilation - use new macro name
This commit is contained in:
Robert Bałdyga
2018-12-18 09:32:00 +01:00
committed by GitHub

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: