diff options
author | Javi Merino <javi.merino@arm.com> | 2013-01-31 21:09:04 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-03-20 18:22:12 +0100 |
commit | 3e98fdacc59bbbdbb659be1a144ccc48ed4860fa (patch) | |
tree | 2883828516c7f88b2f63138dfc28c93cb5b26b35 /arch/arm64/include | |
parent | arm64: Initialise the clocks described via DT (diff) | |
download | linux-3e98fdacc59bbbdbb659be1a144ccc48ed4860fa.tar.xz 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.h | 2 |
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)); \ |