Commit 6c1bf2a0 authored by Petr Tesarik's avatar Petr Tesarik Committed by Atsushi Kumagai
Browse files

[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: default avatarPetr Tesarik <ptesarik@suse.com>
Tested-by: default avatarBhupesh Sharma <bhsharma@redhat.com>
parent 590f35e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment