blob: e31d9f1b8549bfbcd476ac3985657d2c31c6037e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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)
14extern unsigned int elf_hwcap, elf_hwcap2;
15#endif
16#endif