aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/numa.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-01-29 07:35:22 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-02-06 21:06:04 -0500
commitfe5cfd63557b39007460d17c585b8dc5ed6ace93 (patch)
tree20b4475c14e3a3131489ce05712888b40d5f7942 /arch/powerpc/mm/numa.c
parentc0e5e46f3911a451b6915feda709fd1b9b7f026a (diff)
powerpc/numa: Disable VPHN on dedicated processor partitions
There is no need to start up the timer and monitor topology changes on a dedicated processor partition, so disable it. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/numa.c')
-rw-r--r--arch/powerpc/mm/numa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index d07cd08747e5..3cf33494a5ae 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -1516,7 +1516,8 @@ int start_topology_update(void)
1516{ 1516{
1517 int rc = 0; 1517 int rc = 0;
1518 1518
1519 if (firmware_has_feature(FW_FEATURE_VPHN)) { 1519 if (firmware_has_feature(FW_FEATURE_VPHN) &&
1520 get_lppaca()->shared_proc) {
1520 vphn_enabled = 1; 1521 vphn_enabled = 1;
1521 setup_cpu_associativity_change_counters(); 1522 setup_cpu_associativity_change_counters();
1522 init_timer_deferrable(&topology_timer); 1523 init_timer_deferrable(&topology_timer);