blob: 7ecb7c6a57b1ff5c6b159d444fcdf284e5c6728d [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copied from arch/arm64/include/asm/hwcap.h
4 *
5 * Copyright (C) 2012 ARM Ltd.
6 * Copyright (C) 2017 SiFive
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007 */
8#ifndef __ASM_HWCAP_H
9#define __ASM_HWCAP_H
10
11#include <uapi/asm/hwcap.h>
12
13#ifndef __ASSEMBLY__
14/*
15 * This yields a mask that user programs can use to figure out what
16 * instruction set this cpu supports.
17 */
18#define ELF_HWCAP (elf_hwcap)
19
20enum {
21 CAP_HWCAP = 1,
22};
23
24extern unsigned long elf_hwcap;
25#endif
26#endif