diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2024-12-13 00:59:26 +0100 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-26 17:23:58 +0100 |
commit | 02415f1cf435ac1403743156c21b79f52adee6ab (patch) | |
tree | 4a137c8cea74013adf1ac605ab0162c1f484bf5c /arch/s390/boot/kaslr.c | |
parent | e70452c4ba2ce1e24a3fdc18bd623edb7b56013c (diff) | |
download | linux-02415f1cf435ac1403743156c21b79f52adee6ab.tar.gz linux-02415f1cf435ac1403743156c21b79f52adee6ab.tar.bz2 linux-02415f1cf435ac1403743156c21b79f52adee6ab.zip |
s390/boot: Rename physmem_alloc_top_down() to physmem_alloc_or_die()
The new name better reflects the function's behavior, emphasizing that
it will terminate execution if allocation fails.
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 'arch/s390/boot/kaslr.c')
-rw-r--r-- | arch/s390/boot/kaslr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/boot/kaslr.c b/arch/s390/boot/kaslr.c index f864d2bff775..d6761e1e2f8d 100644 --- a/arch/s390/boot/kaslr.c +++ b/arch/s390/boot/kaslr.c @@ -168,7 +168,7 @@ static unsigned long iterate_valid_positions(unsigned long size, unsigned long a * cannot have chains. * * On the other hand, "dynamic" or "repetitive" allocations are done via - * physmem_alloc_top_down(). These allocations are tightly packed together + * physmem_alloc_or_die(). These allocations are tightly packed together * top down from the end of online memory. physmem_alloc_pos represents * current position where those allocations start. * |