diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2016-05-31 15:55:03 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-05-31 17:50:30 +0100 |
commit | e47b020a323d1b2a7b1e9aac86e99eae19463630 (patch) | |
tree | b0673c20deec334aa01bd17c25eade9dca2b2eae /arch/arm64/include | |
parent | 604c8e676e609da9f17a2abb36f2b2067bb86561 (diff) | |
download | blackbird-op-linux-e47b020a323d1b2a7b1e9aac86e99eae19463630.tar.gz blackbird-op-linux-e47b020a323d1b2a7b1e9aac86e99eae19463630.zip |
arm64: Provide "model name" in /proc/cpuinfo for PER_LINUX32 tasks
This patch brings the PER_LINUX32 /proc/cpuinfo format more in line with
the 32-bit ARM one by providing an additional line:
model name : ARMv8 Processor rev X (v8l)
Cc: <stable@vger.kernel.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/elf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h index 7a09c48c0475..579b6e654f2d 100644 --- a/arch/arm64/include/asm/elf.h +++ b/arch/arm64/include/asm/elf.h @@ -160,14 +160,14 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm, #define STACK_RND_MASK (0x3ffff >> (PAGE_SHIFT - 12)) #endif -#ifdef CONFIG_COMPAT - #ifdef __AARCH64EB__ #define COMPAT_ELF_PLATFORM ("v8b") #else #define COMPAT_ELF_PLATFORM ("v8l") #endif +#ifdef CONFIG_COMPAT + #define COMPAT_ELF_ET_DYN_BASE (2 * TASK_SIZE_32 / 3) /* AArch32 registers. */ |