Catalin Marinas | f884b1c | 2007-07-12 16:10:22 +0100 | [diff] [blame] | 1 | #ifndef __ASMARM_HWCAP_H |
| 2 | #define __ASMARM_HWCAP_H |
| 3 | |
David Howells | cb8db5d | 2012-10-12 13:05:52 +0100 | [diff] [blame] | 4 | #include <uapi/asm/hwcap.h> |
Catalin Marinas | f884b1c | 2007-07-12 16:10:22 +0100 | [diff] [blame] | 5 | |
David Howells | 1632b9e | 2011-12-13 15:07:49 +0000 | [diff] [blame] | 6 | #if !defined(__ASSEMBLY__) |
Catalin Marinas | f884b1c | 2007-07-12 16:10:22 +0100 | [diff] [blame] | 7 | /* |
| 8 | * This yields a mask that user programs can use to figure out what |
| 9 | * instruction set this cpu supports. |
| 10 | */ |
| 11 | #define ELF_HWCAP (elf_hwcap) |
Ard Biesheuvel | b342ea4 | 2014-02-19 22:28:40 +0100 | [diff] [blame] | 12 | #define ELF_HWCAP2 (elf_hwcap2) |
| 13 | extern unsigned int elf_hwcap, elf_hwcap2; |
Catalin Marinas | f884b1c | 2007-07-12 16:10:22 +0100 | [diff] [blame] | 14 | #endif |
David Howells | 1632b9e | 2011-12-13 15:07:49 +0000 | [diff] [blame] | 15 | #endif |