aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorGraeme Gregory <graeme.gregory@linaro.org>2013-06-26 09:22:57 +0100
committerGraeme Gregory <graeme.gregory@linaro.org>2013-09-25 13:59:54 +0100
commit7481cf888b39aa7c6d8488a9fd498176b84fba9e (patch)
tree59b82ee8ff8f9e853d3be488bb53b67fe7691e32 /arch/arm64/include
parentf884a837fb8ef182e170e2407a52c6939d1645b9 (diff)
ARM64: ACPI: Skeleton topology.c hack to make arm64 compile
This is just a null do nothing topology.c in order to make acpi_processor driver compile on arm64. It will need to be replaced by fully functional driver at later date. Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/cpu.h1
-rw-r--r--arch/arm64/include/asm/topology.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpu.h b/arch/arm64/include/asm/cpu.h
index 5341811ff205..dbeb98d90260 100644
--- a/arch/arm64/include/asm/cpu.h
+++ b/arch/arm64/include/asm/cpu.h
@@ -10,6 +10,7 @@
#include <linux/percpu.h>
#include <linux/cpu.h>
+#include <linux/topology.h>
struct cpuinfo_arm {
struct cpu cpu;
diff --git a/arch/arm64/include/asm/topology.h b/arch/arm64/include/asm/topology.h
new file mode 100644
index 000000000000..22c94212e4cd
--- /dev/null
+++ b/arch/arm64/include/asm/topology.h
@@ -0,0 +1,8 @@
+#ifndef _ASM_ARM64_TOPOLOGY_H
+#define _ASM_ARM64_TOPOLOGY_H
+
+void arch_fix_phys_package_id(int num, u32 slot);
+
+#include <asm-generic/topology.h>
+
+#endif /* _ASM_ARM64_TOPOLOGY_H */