Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / riscv / include / asm / hwcap.h
blob8a4ed7bbcbead8ac4ea6a1d6b5830c77bbd808cb
1 /*
2 * Copied from arch/arm64/include/asm/hwcap.h
4 * Copyright (C) 2012 ARM Ltd.
5 * Copyright (C) 2017 SiFive
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef __ASM_HWCAP_H
20 #define __ASM_HWCAP_H
22 #include <uapi/asm/hwcap.h>
24 #ifndef __ASSEMBLY__
26 * This yields a mask that user programs can use to figure out what
27 * instruction set this cpu supports.
29 #define ELF_HWCAP (elf_hwcap)
31 enum {
32 CAP_HWCAP = 1,
35 extern unsigned long elf_hwcap;
36 #endif
37 #endif