1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copied from arch/arm64/include/asm/hwcap.h
5 * Copyright (C) 2012 ARM Ltd.
6 * Copyright (C) 2017 SiFive
8 #ifndef _ASM_RISCV_HWCAP_H
9 #define _ASM_RISCV_HWCAP_H
11 #include <uapi/asm/hwcap.h>
15 * This yields a mask that user programs can use to figure out what
16 * instruction set this cpu supports.
18 #define ELF_HWCAP (elf_hwcap)
24 extern unsigned long elf_hwcap
;
27 #endif /* _ASM_RISCV_HWCAP_H */