summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2013-01-31 20:09:04 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2013-03-20 17:22:12 +0000
commit3e98fdacc59bbbdbb659be1a144ccc48ed4860fa (patch)
tree2883828516c7f88b2f63138dfc28c93cb5b26b35 /arch/arm64/include
parentde79a64d61ed3f7ccec9f9661fab2f3e97256243 (diff)
downloadtalos-obmc-linux-3e98fdacc59bbbdbb659be1a144ccc48ed4860fa.tar.gz
talos-obmc-linux-3e98fdacc59bbbdbb659be1a144ccc48ed4860fa.zip
arm64: kernel: make the pen of the secondary a 64-bit unsigned value
Change the prototype of write_pen_release() accordingly and clarify that's holding the hardware id of the secondary that's going to boot. This is in preparation of getting HWIDs parsed from the DT. Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/cputype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h
index 7a317029e735..9397a17bec0b 100644
--- a/arch/arm64/include/asm/cputype.h
+++ b/arch/arm64/include/asm/cputype.h
@@ -26,6 +26,8 @@
#define ID_AA64ISAR0_EL1 "id_aa64isar0_el1"
#define ID_AA64MMFR0_EL1 "id_aa64mmfr0_el1"
+#define INVALID_HWID ULONG_MAX
+
#define read_cpuid(reg) ({ \
u64 __val; \
asm("mrs %0, " reg : "=r" (__val)); \
OpenPOWER on IntegriCloud