Commit b6b486ec authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/sclp: 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: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 893d4d9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ int __init sclp_early_get_core_info(struct sclp_core_info *info)
	}
	sclp_fill_core_info(info, sccb);
out:
	memblock_phys_free((unsigned long)sccb, length);
	memblock_free(sccb, length);
	return rc;
}