[PATCH v12 06/08] ARM: hi3xxx: add hotplug support

Kevin Hilman khilman at linaro.org
Tue Dec 17 19:40:12 EST 2013


Haojian Zhuang <haojian.zhuang at linaro.org> writes:

> From: Zhangfei Gao <zhangfei.gao at linaro.org>
>
> Enable hotplug support on hi3xxx platform
>
> How to test:
> cat proc/interrupts
> echo 0 > /sys/devices/system/cpu/cpuX/online
> cat proc/interrupts
> echo 1 > /sys/devices/system/cpu/cpuX/online
>
> Signed-off-by: Zhangfei Gao <zhangfei.gao at linaro.org>
> Tested-by: Zhang Mingjun <zhang.mingjun at linaro.org>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at linaro.org>

ugh, more checkpatch errors:

ERROR: do not initialise statics to 0 or NULL
#120: FILE: arch/arm/mach-hi3xxx/hotplug.c:65:
+static void __iomem *ctrl_base = NULL;

Fixed this one too, but any more and the flames might start to appear.

Kevin



More information about the linux-arm-kernel mailing list