Skip to content

Commit 50dbd53

Browse files
committed
boot-test: vmh: fix build and enable on ACE 2.0 and 3.0
Fix a recent VMH test build breakage and enable it on newer ACE platforms. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 165ed0e commit 50dbd53

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

zephyr/test/vmh.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ static void test_vmh_multiple_allocs(struct vmh_heap *heap, int num_allocs,
110110
{
111111
void *ptrs[num_allocs];
112112
uint32_t alloc_size;
113-
bool success;
114113
int ret;
115114

116115
/* Perform multiple allocations */
@@ -192,7 +191,7 @@ static void test_vmh_alloc_free(bool allocating_continuously)
192191
/* Test case for vmh_alloc and vmh_free with and without config */
193192
static void test_heap_creation(void)
194193
{
195-
test_vmh_init_and_free_heap(NULL, 0, false, true);
194+
test_vmh_init_and_free_heap(NULL, false, true);
196195

197196
/* Try to setup with pre defined heap config */
198197
struct vmh_heap_config config = {0};
@@ -205,7 +204,7 @@ static void test_heap_creation(void)
205204

206205
config.block_bundles_table[1].number_of_blocks = 512;
207206

208-
test_vmh_init_and_free_heap(&config, 0, false, true);
207+
test_vmh_init_and_free_heap(&config, false, true);
209208
}
210209

211210
/* Test case for alloc/free on configured heap */

0 commit comments

Comments
 (0)