diff options
author | Tom Rini <trini@konsulko.com> | 2022-08-10 17:49:20 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-10 17:49:20 -0400 |
commit | cdebee1fd9fa04cc4c972f826bae19b28c253eb0 (patch) | |
tree | 97a13d6a54ea8cb825d19cd65d4c9480ffd327dc /lib/lmb.c | |
parent | 3dd4e916324efc825a7ee8e412f5cf1ded839021 (diff) | |
parent | 468091a4602f78aaa11d41190ae66d8b240e144a (diff) |
Merge branch '2022-08-10-assorted-updates'
- An assortment of bugfixes and minor updates
Diffstat (limited to 'lib/lmb.c')
-rw-r--r-- | lib/lmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lmb.c b/lib/lmb.c index f21fe672ae9..c599608fa38 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -108,7 +108,7 @@ void lmb_init(struct lmb *lmb) #if IS_ENABLED(CONFIG_LMB_USE_MAX_REGIONS) lmb->memory.max = CONFIG_LMB_MAX_REGIONS; lmb->reserved.max = CONFIG_LMB_MAX_REGIONS; -#elif IS_ENABLED(CONFIG_LMB_MEMORY_REGIONS) +#elif defined(CONFIG_LMB_MEMORY_REGIONS) lmb->memory.max = CONFIG_LMB_MEMORY_REGIONS; lmb->reserved.max = CONFIG_LMB_RESERVED_REGIONS; lmb->memory.region = lmb->memory_regions; |