diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-25 17:05:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-25 17:05:56 -0500 |
commit | b272f732f888d4cf43c943a40c9aaa836f9b7431 (patch) | |
tree | da9cac6b9d12b83592c16d3503c0e3f2f00f146f /arch/mips | |
parent | 10bbe7599e2755d3f3e100103967788b8b5a4bce (diff) | |
parent | 008b69e4d52f2cbee3ed0d0502edd78155000b1a (diff) |
Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull SMP hotplug notifier removal from Thomas Gleixner:
"This is the final cleanup of the hotplug notifier infrastructure. The
series has been reintgrated in the last two days because there came a
new driver using the old infrastructure via the SCSI tree.
Summary:
- convert the last leftover drivers utilizing notifiers
- fixup for a completely broken hotplug user
- prevent setup of already used states
- removal of the notifiers
- treewide cleanup of hotplug state names
- consolidation of state space
There is a sphinx based documentation pending, but that needs review
from the documentation folks"
* 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
irqchip/armada-xp: Consolidate hotplug state space
irqchip/gic: Consolidate hotplug state space
coresight/etm3/4x: Consolidate hotplug state space
cpu/hotplug: Cleanup state names
cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions
staging/lustre/libcfs: Convert to hotplug state machine
scsi/bnx2i: Convert to hotplug state machine
scsi/bnx2fc: Convert to hotplug state machine
cpu/hotplug: Prevent overwriting of callbacks
x86/msr: Remove bogus cleanup from the error path
bus: arm-ccn: Prevent hotplug callback leak
perf/x86/intel/cstate: Prevent hotplug callback leak
ARM/imx/mmcd: Fix broken cpu hotplug handling
scsi: qedi: Convert to hotplug state machine
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/pm-cps.c | 2 | ||||
-rw-r--r-- | arch/mips/oprofile/op_model_loongson3.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/pm-cps.c b/arch/mips/kernel/pm-cps.c index 7cf653e21423..5f928c34c148 100644 --- a/arch/mips/kernel/pm-cps.c +++ b/arch/mips/kernel/pm-cps.c | |||
@@ -713,7 +713,7 @@ static int __init cps_pm_init(void) | |||
713 | pr_warn("pm-cps: no CPC, clock & power gating unavailable\n"); | 713 | pr_warn("pm-cps: no CPC, clock & power gating unavailable\n"); |
714 | } | 714 | } |
715 | 715 | ||
716 | return cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "AP_PM_CPS_CPU_ONLINE", | 716 | return cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "mips/cps_pm:online", |
717 | cps_pm_online_cpu, NULL); | 717 | cps_pm_online_cpu, NULL); |
718 | } | 718 | } |
719 | arch_initcall(cps_pm_init); | 719 | arch_initcall(cps_pm_init); |
diff --git a/arch/mips/oprofile/op_model_loongson3.c b/arch/mips/oprofile/op_model_loongson3.c index 40660392006f..436b1fc99f2c 100644 --- a/arch/mips/oprofile/op_model_loongson3.c +++ b/arch/mips/oprofile/op_model_loongson3.c | |||
@@ -186,7 +186,7 @@ static int __init loongson3_init(void) | |||
186 | { | 186 | { |
187 | on_each_cpu(reset_counters, NULL, 1); | 187 | on_each_cpu(reset_counters, NULL, 1); |
188 | cpuhp_setup_state_nocalls(CPUHP_AP_MIPS_OP_LOONGSON3_STARTING, | 188 | cpuhp_setup_state_nocalls(CPUHP_AP_MIPS_OP_LOONGSON3_STARTING, |
189 | "AP_MIPS_OP_LOONGSON3_STARTING", | 189 | "mips/oprofile/loongson3:starting", |
190 | loongson3_starting_cpu, loongson3_dying_cpu); | 190 | loongson3_starting_cpu, loongson3_dying_cpu); |
191 | save_perf_irq = perf_irq; | 191 | save_perf_irq = perf_irq; |
192 | perf_irq = loongson3_perfcount_handler; | 192 | perf_irq = loongson3_perfcount_handler; |