Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / unicore32 / include / asm / hwcap.h
blob97bd40fdd4acc6869bbfbe3ddffaf34a62c1892a
1 /*
2 * linux/arch/unicore32/include/asm/hwcap.h
4 * Code specific to PKUnity SoC and UniCore ISA
6 * Copyright (C) 2001-2010 GUAN Xue-tao
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
12 #ifndef __UNICORE_HWCAP_H__
13 #define __UNICORE_HWCAP_H__
16 * HWCAP flags
18 #define HWCAP_MSP 1
19 #define HWCAP_UNICORE16 2
20 #define HWCAP_CMOV 4
21 #define HWCAP_UNICORE_F64 8
22 #define HWCAP_TLS 0x80
24 #if defined(__KERNEL__) && !defined(__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 (HWCAP_CMOV | HWCAP_UNICORE_F64)
30 #endif
32 #endif