diff options
author | 2015-03-31 20:49:02 +0530 | |
---|---|---|
committer | 2015-04-02 17:46:21 +0200 | |
commit | 3650b57fdf208bc0e36cbe7b5e0744bd0e0cf34d (patch) | |
tree | e62223fe5b72899adc985709b716587e404cc61b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | timer: Don't initialize 'tvec_base' on hotplug (diff) | |
download | linux-dev-3650b57fdf208bc0e36cbe7b5e0744bd0e0cf34d.tar.xz linux-dev-3650b57fdf208bc0e36cbe7b5e0744bd0e0cf34d.zip |
timer: Further simplify the SMP and HOTPLUG logic
Remove one CONFIG_HOTPLUG_CPU #ifdef in trade for introducing one
CONFIG_SMP #ifdef.
The CONFIG_SMP ifdef avoids declaring the per-CPU __tvec_bases storage
on UP systems since they already have boot_tvec_bases.
Also (re)add a runtime check on the base alignment -- for the paranoid
amongst us :-)
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/fdd2d35e169bdc554ffa3fe77f77716298c75ada.1427814611.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions