summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-10-28 07:21:36 +0100
committerTom Rini <trini@konsulko.com>2024-11-01 13:36:47 -0600
commit62fe870632fc6a8f18ff59c2e9579be9a80df3d7 (patch)
treeccf009bf2177d506d26c8c3c770cef0ef4278b49
parent5f7c06bdc3c6b20362992cd1b6d137f5bb599a0a (diff)
lmb: remove __maybe_unused from lmb_map_update_notify
Function lmb_map_update_notify() is always referenced. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r--lib/lmb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/lmb.c b/lib/lmb.c
index 96a055f951e..2ed0da21b45 100644
--- a/lib/lmb.c
+++ b/lib/lmb.c
@@ -35,9 +35,8 @@ static bool lmb_should_notify(enum lmb_flags flags)
CONFIG_IS_ENABLED(EFI_LOADER);
}
-static int __maybe_unused lmb_map_update_notify(phys_addr_t addr,
- phys_size_t size,
- u8 op, enum lmb_flags flags)
+static int lmb_map_update_notify(phys_addr_t addr, phys_size_t size, u8 op,
+ enum lmb_flags flags)
{
u64 efi_addr;
u64 pages;