aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWANG Chao <[email protected]>2015-01-07 11:37:38 +0800
committerThomas Gleixner <[email protected]>2015-01-23 16:14:27 +0100
commitd574ffa1066003569ed5cdaeabf44597564ce975 (patch)
tree5beddeab40b224022910fffa8d99d6b0a05de6a2 /tools/perf/util/trace-event-scripting.c
parent7389882c81474d635a208726edb22938645ff9ad (diff)
x86, e820: Clean up sanitize_e820_map() users
The argument 3 of sanitize_e820_map() will only be updated upon a successful sanitization. Some of the callers have extra conditionals for the same purpose. Clean them up. default_machine_specific_memory_setup() must keep the extra conditional because boot_params.e820_entries is an u8 and not an u32, so the direct update would overwrite other fields in boot_params. [ tglx: Massaged changelog ] Signed-off-by: WANG Chao <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Grygorii Strashko <[email protected]> Cc: Pavel Machek <[email protected]> Cc: Lee Chun-Yi <[email protected]> Cc: Xishi Qiu <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions