X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Fmalloc_simple.c;h=479a1e47b640e987b84a1f57d983839acf83ec11;hb=454d9d3ec81c5b77adaecb9a6254336d4c5775a9;hp=dd1119f8cfbbde83b404c1a13a8577ca79f35000;hpb=836ac74c29b04a18fc51c92a18e383cf18a36d63;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/malloc_simple.c b/common/malloc_simple.c index dd1119f..479a1e4 100644 --- a/common/malloc_simple.c +++ b/common/malloc_simple.c @@ -44,7 +44,7 @@ void *memalign_simple(size_t align, size_t bytes) return ptr; } -#ifdef CONFIG_SYS_MALLOC_SIMPLE +#if CONFIG_IS_ENABLED(SYS_MALLOC_SIMPLE) void *calloc(size_t nmemb, size_t elem_size) { size_t size = nmemb * elem_size;