diff options
Diffstat (limited to 'meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch')
-rw-r--r-- | meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch new file mode 100644 index 0000000000..3b20b4ac59 --- /dev/null +++ b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | # Add HWCAP definitions in asm/procinfo.h | ||
2 | |||
3 | Index: linux-2.6.19-rc1/usr/include/asm-arm/procinfo.h | ||
4 | =================================================================== | ||
5 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
6 | +++ linux-2.6.19-rc1/usr/include/asm-arm/procinfo.h 2006-10-05 10:28:40.000000000 +0200 | ||
7 | @@ -0,0 +1,24 @@ | ||
8 | +/* | ||
9 | + * linux/include/asm-arm/procinfo.h | ||
10 | + * | ||
11 | + * Copyright (C) 1996-1999 Russell King | ||
12 | + * | ||
13 | + * This program is free software; you can redistribute it and/or modify | ||
14 | + * it under the terms of the GNU General Public License version 2 as | ||
15 | + * published by the Free Software Foundation. | ||
16 | + */ | ||
17 | +#ifndef __ASM_PROCINFO_H | ||
18 | +#define __ASM_PROCINFO_H | ||
19 | + | ||
20 | +#define HWCAP_SWP 1 | ||
21 | +#define HWCAP_HALF 2 | ||
22 | +#define HWCAP_THUMB 4 | ||
23 | +#define HWCAP_26BIT 8 /* Play it safe */ | ||
24 | +#define HWCAP_FAST_MULT 16 | ||
25 | +#define HWCAP_FPA 32 | ||
26 | +#define HWCAP_VFP 64 | ||
27 | +#define HWCAP_EDSP 128 | ||
28 | +#define HWCAP_JAVA 256 | ||
29 | +#define HWCAP_IWMMXT 512 | ||
30 | + | ||
31 | +#endif | ||