diff options
author | Mike Rapoport <rppt@linux.ibm.com> | 2021-11-05 23:43:10 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-06 23:30:41 +0300 |
commit | c486514dd40980b2dbb0e15fabddfe1324ed0197 (patch) | |
tree | 502e8d0aaf5358123a7833e222511b805e442811 /drivers/s390 | |
parent | 5787ea5bed7607cbee26da492e574f94975e4d76 (diff) | |
download | linux-c486514dd40980b2dbb0e15fabddfe1324ed0197.tar.xz |
xen/x86: free_p2m_page: use memblock_free_ptr() to free a virtual pointer
free_p2m_page() wrongly passes a virtual pointer to memblock_free() that
treats it as a physical address.
Call memblock_free_ptr() instead that gets a virtual address to free the
memory.
Link: https://lkml.kernel.org/r/20210930185031.18648-3-rppt@kernel.org
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Shahab Vahedi <Shahab.Vahedi@synopsys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions