Skip to content

Commit 02addae

Browse files
Qais YousefKAGA-KOKO
authored andcommitted
parisc: Replace cpu_up/down() with add/remove_cpu()
The core device API performs extra housekeeping bits that are missing from directly calling cpu_up/down(). See commit a6717c0 ("powerpc/rtas: use device model APIs and serialization during LPM") for an example description of what might go wrong. This also prepares to make cpu_up/down() a private interface of the CPU subsystem. Signed-off-by: Qais Yousef <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Helge Deller <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 7f6707a commit 02addae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/kernel/processor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static int __init processor_probe(struct parisc_device *dev)
212212
#ifdef CONFIG_SMP
213213
if (cpuid) {
214214
set_cpu_present(cpuid, true);
215-
cpu_up(cpuid);
215+
add_cpu(cpuid);
216216
}
217217
#endif
218218

0 commit comments

Comments
 (0)