android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Gautham R Shenoy 86ef5c9a8e cpu-hotplug: replace lock_cpu_hotplug() with get_online_cpus()
Replace all lock_cpu_hotplug/unlock_cpu_hotplug from the kernel and use
get_online_cpus and put_online_cpus instead as it highlights the
refcount semantics in these operations.

The new API guarantees protection against the cpu-hotplug operation, but
it doesn't guarantee serialized access to any of the local data
structures. Hence the changes needs to be reviewed.

In case of pseries_add_processor/pseries_remove_processor, use
cpu_maps_update_begin()/cpu_maps_update_done() as we're modifying the
cpu_present_map there.

Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-25 21:08:02 +01:00
..
8xx
40x [POWERPC] 4xx: Replace #includes of asm/of_platform.h with linux/of_platform.h. 2007-11-19 08:13:08 -06:00
44x [POWERPC] 4xx: Replace #includes of asm/of_platform.h with linux/of_platform.h. 2007-11-19 08:13:08 -06:00
52xx [POWERPC] Enable restart support for lite5200 board 2007-10-21 12:43:14 -06:00
82xx
83xx [POWERPC] 83xx: MPC832x RDB - remove spidev stub, use mmc_spi 2007-11-20 15:39:54 -06:00
85xx
86xx
cell Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
celleb [POWERPC] Fix build failure when CONFIG_VIRT_CPU_ACCOUNTING is not defined 2007-11-08 14:15:31 +11:00
chrp powerpc: Fix IDE legacy vs. native fixups 2007-12-10 07:39:54 -08:00
embedded6xx [POWERPC] prpmc2800: Enable L2 cache 2007-11-19 15:11:30 +11:00
iseries [POWERPC] iSeries: don't printk with HV spinlock held 2007-12-14 15:50:46 +11:00
maple
pasemi [POWERPC] pasemi: Don't reset mpic at boot 2007-11-19 19:27:17 -06:00
powermac Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
prep
ps3 [POWERPC] PS3: Fix printing of os-area magic numbers 2007-12-28 15:07:52 +11:00
pseries cpu-hotplug: replace lock_cpu_hotplug() with get_online_cpus() 2008-01-25 21:08:02 +01:00
fsl_uli1575.c
Kconfig typo fixes 2007-10-20 01:34:40 +02:00
Kconfig.cputype [POWERPC] 4xx: Split early debug output and early boot console for 44x 2007-10-19 16:18:18 -05:00
Makefile