]> git.baikalelectronics.ru Git - kernel.git/commit
s390/smp: fix memblock_phys_free() vs memblock_free() confusion
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 13 Dec 2021 18:00:57 +0000 (19:00 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 16 Dec 2021 18:58:07 +0000 (19:58 +0100)
commitc2722f0686b9e4cb6d394b4cf8f84d719e4077d5
treedec76a7c8d5ee224f323f1062ca56c383e080bae
parent0b2f8ebe4bdb3ca5f1296defda31ff93528438dc
s390/smp: fix memblock_phys_free() vs memblock_free() confusion

memblock_phys_free() is used on a virtual address. Fix this by using
memblock_free().

Note: this doesn't fix a bug currently, since virtual and physical
addresses are identical.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/smp.c