blob: 6e183fd269fb8b02a001f827ae4bbf3f7252804d [file] [log] [blame]
Catalin Marinasf884b1c2007-07-12 16:10:22 +01001#ifndef __ASMARM_HWCAP_H
2#define __ASMARM_HWCAP_H
3
David Howellscb8db5d2012-10-12 13:05:52 +01004#include <uapi/asm/hwcap.h>
Catalin Marinasf884b1c2007-07-12 16:10:22 +01005
David Howells1632b9e2011-12-13 15:07:49 +00006#if !defined(__ASSEMBLY__)
Catalin Marinasf884b1c2007-07-12 16:10:22 +01007/*
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 Biesheuvelb342ea42014-02-19 22:28:40 +010012#define ELF_HWCAP2 (elf_hwcap2)
13extern unsigned int elf_hwcap, elf_hwcap2;
Catalin Marinasf884b1c2007-07-12 16:10:22 +010014#endif
David Howells1632b9e2011-12-13 15:07:49 +000015#endif