aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSonic Zhang <[email protected]>2011-10-31 17:08:31 -0700
committerLinus Torvalds <[email protected]>2011-10-31 17:30:48 -0700
commit06d5e032adcbc7d50c606a1396f00e2474e4213e (patch)
treec9c0134ecc8d26f43749b2108325cd8e1bcaadfd /tools/perf/scripts/python/check-perf-trace.py
parent37a1c49a91ad55f917a399ef2174b5ebda4283f9 (diff)
include/asm-generic/page.h: calculate virt_to_page and page_to_virt via predefined macro
On NOMMU architectures, if physical memory doesn't start from 0, ARCH_PFN_OFFSET is defined to generate page index in mem_map array. Because virtual address is equal to physical address, PAGE_OFFSET is always 0. virt_to_page and page_to_virt should not index page by PAGE_OFFSET directly. Signed-off-by: Sonic Zhang <[email protected]> Cc: Greg Ungerer <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: David Howells <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions