diff options
| author | Mike Rapoport <[email protected]> | 2021-11-05 20:43:10 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-06 20:30:41 +0000 |
| commit | c486514dd40980b2dbb0e15fabddfe1324ed0197 (patch) | |
| tree | 502e8d0aaf5358123a7833e222511b805e442811 /lib/cpumask.c | |
| parent | arch_numa: simplify numa_distance allocation (diff) | |
| download | kernel-c486514dd40980b2dbb0e15fabddfe1324ed0197.tar.gz kernel-c486514dd40980b2dbb0e15fabddfe1324ed0197.zip | |
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/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Shahab Vahedi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions
