aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2010-10-26 21:41:49 +0000
committerJesse Barnes <[email protected]>2010-10-26 22:33:44 +0000
commit419afdf53cca794a190014593b4778e2e9d64cf3 (patch)
tree5d26321ffa10a004c71cc428f1f33f9bb6053602 /tools/perf/util/scripting-engines/trace-event-perl.c
parentx86/PCI: allocate space from the end of a region, not the beginning (diff)
downloadkernel-419afdf53cca794a190014593b4778e2e9d64cf3.tar.gz
kernel-419afdf53cca794a190014593b4778e2e9d64cf3.zip
x86: update iomem_resource end based on CPU physical address capabilities
The iomem_resource map reflects the available physical address space. We statically initialize the end to -1, i.e., 0xffffffff_ffffffff, but of course we can only use as much as the CPU can address. This patch updates the end based on the CPU capabilities, so we don't mistakenly allocate space that isn't usable, as we're likely to do when allocating from the top-down. Signed-off-by: Bjorn Helgaas <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions