b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef __ASMARM_HWCAP_H | ||||
3 | #define __ASMARM_HWCAP_H | ||||
4 | |||||
5 | #include <uapi/asm/hwcap.h> | ||||
6 | |||||
7 | #if !defined(__ASSEMBLY__) | ||||
8 | /* | ||||
9 | * This yields a mask that user programs can use to figure out what | ||||
10 | * instruction set this cpu supports. | ||||
11 | */ | ||||
12 | #define ELF_HWCAP (elf_hwcap) | ||||
13 | #define ELF_HWCAP2 (elf_hwcap2) | ||||
14 | extern unsigned int elf_hwcap, elf_hwcap2; | ||||
15 | #endif | ||||
16 | #endif |