summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hisi/core.h
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2013-12-20 10:52:56 +0800
committerKevin Hilman <khilman@linaro.org>2013-12-20 08:23:01 -0800
commit389ee0c2ffedf5819dccc2c67dd15757c4550765 (patch)
tree6b59caa70e41a290b8957d5383fe2b22ebee31a6 /arch/arm/mach-hisi/core.h
parent22e99a6d43f2ccd1d1a28c65a803bb71ea293098 (diff)
downloadop-kernel-dev-389ee0c2ffedf5819dccc2c67dd15757c4550765.zip
op-kernel-dev-389ee0c2ffedf5819dccc2c67dd15757c4550765.tar.gz
ARM: hisi: rename hi3xxx to hisi
Since some new Hisilicon SoCs are not named as hi3xxx, rename mach-hi3xxx to mach-hisi instead. And the pronounciation of "hisi" is similar to the chinese pronounciation of Hisilicon. So Hisilicon guys like this name. ARCH_HI3xxx will be renamed later since other drivers are using it and they are still in linux-next git tree. So rename ARCH_HI3xxx later. Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/mach-hisi/core.h')
-rw-r--r--arch/arm/mach-hisi/core.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-hisi/core.h b/arch/arm/mach-hisi/core.h
new file mode 100644
index 0000000..af23ec2
--- /dev/null
+++ b/arch/arm/mach-hisi/core.h
@@ -0,0 +1,15 @@
+#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;
+
+extern void hi3xxx_cpu_die(unsigned int cpu);
+extern int hi3xxx_cpu_kill(unsigned int cpu);
+extern void hi3xxx_set_cpu(int cpu, bool enable);
+
+#endif
OpenPOWER on IntegriCloud