summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hi3xxx/core.h
diff options
context:
space:
mode:
authorKevin Hilman2013-12-18 01:23:49 +0100
committerKevin Hilman2013-12-18 01:43:34 +0100
commita9434e96d9f089e778b440217f815c8e85daf317 (patch)
treea8fbebcc67b2b6c992b249d5c29035f9d6a5b309 /arch/arm/mach-hi3xxx/core.h
parentARM: config: add defconfig for Hi3xxx (diff)
downloadkernel-qcow2-linux-a9434e96d9f089e778b440217f815c8e85daf317.tar.gz
kernel-qcow2-linux-a9434e96d9f089e778b440217f815c8e85daf317.tar.xz
kernel-qcow2-linux-a9434e96d9f089e778b440217f815c8e85daf317.zip
ARM: hi3xxx: add smp support
Enable SMP support on hi3xxx platform Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Tested-by: Zhang Mingjun <zhang.mingjun@linaro.org> Tested-by: Li Xin <li.xin@linaro.org> Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> [khilman: fix checkpatch errors] Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/mach-hi3xxx/core.h')
-rw-r--r--arch/arm/mach-hi3xxx/core.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-hi3xxx/core.h b/arch/arm/mach-hi3xxx/core.h
new file mode 100644
index 000000000000..226f02050597
--- /dev/null
+++ b/arch/arm/mach-hi3xxx/core.h
@@ -0,0 +1,11 @@
+#ifndef __HISILICON_CORE_H
+#define __HISILICON_CORE_H
+
+#include <linux/reboot.h>
+
+extern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr);
+extern int hi3xxx_get_cpu_jump(int cpu);
+extern void secondary_startup(void);
+extern struct smp_operations hi3xxx_smp_ops;
+
+#endif