[PATCH 2/2] Fix physical-to-virtual conversion in exclude_segment()
With kaslr enabled, PAGE_OFFSET may no longer be aligned to allow calculation using bitwise OR. My fix follows the same idea as Baoquan's commit 4c53423b for set_kcore_vmcoreinfo, i.e. use arithmetic addition instead. Signed-off-by:Petr Tesarik <ptesarik@suse.com> Tested-by:
Bhupesh Sharma <bhsharma@redhat.com>
Loading
Please sign in to comment