diff options
author | Anton Blanchard <anton@samba.org> | 2011-01-29 13:35:22 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-02-07 03:06:04 +0100 |
commit | fe5cfd63557b39007460d17c585b8dc5ed6ace93 (patch) | |
tree | 20b4475c14e3a3131489ce05712888b40d5f7942 | |
parent | powerpc/numa: Add length when creating OF properties via VPHN (diff) | |
download | linux-fe5cfd63557b39007460d17c585b8dc5ed6ace93.tar.xz linux-fe5cfd63557b39007460d17c585b8dc5ed6ace93.zip |
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>
-rw-r--r-- | arch/powerpc/mm/numa.c | 3 |
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) { int rc = 0; - if (firmware_has_feature(FW_FEATURE_VPHN)) { + if (firmware_has_feature(FW_FEATURE_VPHN) && + get_lppaca()->shared_proc) { vphn_enabled = 1; setup_cpu_associativity_change_counters(); init_timer_deferrable(&topology_timer); |