diff options
author | 2016-05-05 14:53:48 +0530 | |
---|---|---|
committer | 2016-05-05 16:35:45 +0530 | |
commit | 2519d753676bdf2460fbbcde276d5b6ba8d6b695 (patch) | |
tree | 4db307eac2f8efbfe9699b6c0bb449d346d6ad10 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ARC: Add missing io barriers to io{read,write}{16,32}be() (diff) | |
download | wireguard-linux-2519d753676bdf2460fbbcde276d5b6ba8d6b695.tar.xz wireguard-linux-2519d753676bdf2460fbbcde276d5b6ba8d6b695.zip |
ARC: Fix PAE40 boot failures due to PTE truncation
So a benign looking cleanup which macro'ized PAGE_SHIFT shifts turned
out to be bad (since it was done non-sensically across the board).
It caused boot failures with PAE40 as forced cast to (unsigned long)
from newly introduced virt_to_pfn() was causing truncatiion of the
(long long) pte/paddr values.
It is OK to use this in accessors dealing with kernel virtual address,
pointers etc, but not for PTE values themelves.
Fixes: cJ2ff5cf2735c ("ARC: mm: Use virt_to_pfn() for addr >> PAGE_SHIFT pattern)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions