diff options
author | 2024-11-29 02:26:19 +0100 | |
---|---|---|
committer | 2025-01-26 17:23:58 +0100 | |
commit | aeb4358a52365269e6ca658505a6410ed85570b2 (patch) | |
tree | ae117da8572fa282960cb9acee59ede388a87353 /lib/list_debug.c | |
parent | s390/boot: Rename physmem_alloc_top_down() to physmem_alloc_or_die() (diff) | |
download | wireguard-linux-aeb4358a52365269e6ca658505a6410ed85570b2.tar.xz wireguard-linux-aeb4358a52365269e6ca658505a6410ed85570b2.zip |
s390/boot: Add physmem_alloc()
Add physmem_alloc() as a variant of physmem_alloc_or_die() that can return
an error instead of triggering a panic on OOM. This allows callers to
implement alternative fallback paths.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions