diff options
Diffstat (limited to 'packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch')
-rw-r--r-- | 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/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch b/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/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch @@ -0,0 +1,31 @@ +# Add HWCAP definitions in asm/procinfo.h + +Index: linux-2.6.19-rc1/usr/include/asm-arm/procinfo.h +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ linux-2.6.19-rc1/usr/include/asm-arm/procinfo.h 2006-10-05 10:28:40.000000000 +0200 +@@ -0,0 +1,24 @@ ++/* ++ * linux/include/asm-arm/procinfo.h ++ * ++ * Copyright (C) 1996-1999 Russell King ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License version 2 as ++ * published by the Free Software Foundation. ++ */ ++#ifndef __ASM_PROCINFO_H ++#define __ASM_PROCINFO_H ++ ++#define HWCAP_SWP 1 ++#define HWCAP_HALF 2 ++#define HWCAP_THUMB 4 ++#define HWCAP_26BIT 8 /* Play it safe */ ++#define HWCAP_FAST_MULT 16 ++#define HWCAP_FPA 32 ++#define HWCAP_VFP 64 ++#define HWCAP_EDSP 128 ++#define HWCAP_JAVA 256 ++#define HWCAP_IWMMXT 512 ++ ++#endif |