aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorRuss Anderson <[email protected]>2012-05-10 13:01:46 -0700
committerLinus Torvalds <[email protected]>2012-05-10 15:06:44 -0700
commit6bc2e853c6b46a6041980d58200ad9b0a73a60ff (patch)
tree8e36db26a891ee14f9341eaa77f698aeb44301d7 /tools/perf/util/scripting-engines/trace-event-perl.c
parentb8cd742acfd78a4689148fb80cf74bc26e7f1f3c (diff)
mm: nobootmem: fix sign extend problem in __free_pages_memory()
Systems with 8 TBytes of memory or greater can hit a problem where only the the first 8 TB of memory shows up. This is due to "int i" being smaller than "unsigned long start_aligned", causing the high bits to be dropped. The fix is to change `i' to unsigned long to match start_aligned and end_aligned. Thanks to Jack Steiner for assistance tracking this down. Signed-off-by: Russ Anderson <[email protected]> Cc: Jack Steiner <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Tejun Heo <[email protected]> Cc: David S. Miller <[email protected]> Cc: Yinghai Lu <[email protected]> Cc: Gavin Shan <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions