[PATCH v12 05/08] ARM: hi3xxx: add smp support

Kevin Hilman khilman at linaro.org
Tue Dec 17 19:38:18 EST 2013


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

> From: Zhangfei Gao <zhangfei.gao at linaro.org>
>
> Enable SMP support on hi3xxx platform
>
> Signed-off-by: Zhangfei Gao <zhangfei.gao at linaro.org>
> Tested-by: Zhang Mingjun <zhang.mingjun at linaro.org>
> Tested-by: Li Xin <li.xin at linaro.org>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at linaro.org>

This one has checkpatch errors too:

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

ERROR: space prohibited before that close parenthesis ')'
#282: FILE: arch/arm/mach-hi3xxx/platsmp.c:35:
+	return readl_relaxed(ctrl_base + ((cpu - 1 ) << 2));

I fixed these up locally too, but my generosity is running out.

Kevin



More information about the linux-arm-kernel mailing list