Commit 25804e6a authored by Steve Capper's avatar Steve Capper Committed by Catalin Marinas
Browse files

arm64: Widen hwcap to be 64 bit

Under arm64 elf_hwcap is a 32 bit quantity, but it is stored in
a 64 bit auxiliary ELF field and glibc reads hwcap as 64 bit.

This patch widens elf_hwcap to be 64 bit.
Signed-off-by: default avatarSteve Capper <>
Signed-off-by: default avatarCatalin Marinas <>
parent 6ca68e80
......@@ -43,6 +43,6 @@
extern unsigned int elf_hwcap;
extern unsigned long elf_hwcap;
......@@ -57,7 +57,7 @@
unsigned int processor_id;
unsigned int elf_hwcap __read_mostly;
unsigned long elf_hwcap __read_mostly;
static const char *cpu_name;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment