aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2011-01-20 14:44:20 -0800
committerLinus Torvalds <[email protected]>2011-01-20 17:02:05 -0800
commitabb65272a190660790096628859e752172d822fd (patch)
treec600b517ec0446b0ae95430b6c65d864c7dd0efb /tools/perf/util/trace-event-scripting.c
parent453c719261c0b4030b2676124adb6e81c5fb6833 (diff)
memblock: fix memblock_is_region_memory()
memblock_is_region_memory() uses reserved memblocks to search for the given region, while it should use the memory memblocks. I encountered the problem with OMAP's framebuffer ram allocation. Normally the ram is allocated dynamically, and this function is not called. However, if we want to pass the framebuffer from the bootloader to the kernel (to retain the boot image), this function is used to check the validity of the kernel parameters for the framebuffer ram area. Signed-off-by: Tomi Valkeinen <[email protected]> Acked-by: Yinghai Lu <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions