aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorGraeme Gregory <graeme.gregory@linaro.org>2013-06-11 13:26:24 +0100
committerGraeme Gregory <graeme.gregory@linaro.org>2013-09-25 13:54:36 +0100
commitb78893eb39f7a7f2c1d0e6b003ac18420779f5c2 (patch)
tree5e3a6ac7de5e26fc5721e67cac72d023cc85d176 /arch/arm64
parent8398102f25506a0cc8f1d5fec457465470cbcb0f (diff)
arm64: add dummy cpu.h
ACPI requires a cpu.h, add a dummy one copied from arm. This will need updated or replaced as cpu hotplug for armv8 is worked out. Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/include/asm/cpu.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpu.h b/arch/arm64/include/asm/cpu.h
new file mode 100644
index 000000000000..5341811ff205
--- /dev/null
+++ b/arch/arm64/include/asm/cpu.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2004-2005 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef __ASM_ARM_CPU_H
+#define __ASM_ARM_CPU_H
+
+#include <linux/percpu.h>
+#include <linux/cpu.h>
+
+struct cpuinfo_arm {
+ struct cpu cpu;
+ u32 cpuid;
+#ifdef CONFIG_SMP
+ unsigned int loops_per_jiffy;
+#endif
+};
+
+DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
+
+#endif