aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2011-11-17 13:11:21 +0100
committerRussell King <[email protected]>2011-11-21 13:12:19 +0000
commit53cbcbcf4362ef39e0a692b1d23c395999397fca (patch)
tree0c87a7dff39ad967140ab6eb1f1e7a02ad30b57b /tools/perf/util/scripting-engines/trace-event-python.c
parent1c8a7c1fbfc7ae2362d26559df26b99c806b68b5 (diff)
ARM: 7166/1: Use PMD_SHIFT instead of PGDIR_SHIFT in dma-consistent.c
Commit 99d1717d (ARM: Add init_consistent_dma_size()) introduces dynamic allocation of the consistent_pte array. The number of PTEs should be calculated based on the number of PMD entries rather than PGD, hence the PMD_SHIFT. Signed-off-by: Catalin Marinas <[email protected]> Cc: Jon Medhurst <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions