mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 11:56:43 +07:00
b342ea4e4f
This enables AT_HWCAP2 for ARM. The generic support for this
new ELF auxv entry was added in commit 2171364d1a
(powerpc:
Add HWCAP2 aux entry)
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
16 lines
339 B
C
16 lines
339 B
C
#ifndef __ASMARM_HWCAP_H
|
|
#define __ASMARM_HWCAP_H
|
|
|
|
#include <uapi/asm/hwcap.h>
|
|
|
|
#if !defined(__ASSEMBLY__)
|
|
/*
|
|
* This yields a mask that user programs can use to figure out what
|
|
* instruction set this cpu supports.
|
|
*/
|
|
#define ELF_HWCAP (elf_hwcap)
|
|
#define ELF_HWCAP2 (elf_hwcap2)
|
|
extern unsigned int elf_hwcap, elf_hwcap2;
|
|
#endif
|
|
#endif
|