diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2024-10-15 21:07:04 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-15 13:45:29 -0600 |
commit | 3c6896ad2fb876b0a23202f62a83c0d44380c9ea (patch) | |
tree | 1f1fefbbbf188c8f45ad221910764310cc73fd8f /lib/lmb.c | |
parent | c8a8f0196bdb068f07a5565bf4ce5f43f5003f6e (diff) |
lmb: add a flag to allow suppressing memory map change notification
Add a flag LMB_NONOTIFY that can be passed to the LMB API's for
reserving memory. This will then result in no notification being sent
from the LMB module for the changes to the LMB's memory map.
While here, also add a description of the memory attributes that the
flags signify.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
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 a38537af9c3..e1e616679f0 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -30,7 +30,7 @@ static struct lmb lmb; static void lmb_print_region_flags(enum lmb_flags flags) { u64 bitpos; - const char *flag_str[] = { "none", "no-map", "no-overwrite" }; + const char *flag_str[] = { "none", "no-map", "no-overwrite", "no-notify" }; do { bitpos = flags ? fls(flags) - 1 : 0; |