MIPS: AT_HWCAP aux vector infrastructure
[linux-drm-fsl-dcu.git] / arch / mips / include / asm / elf.h
index f19e890b99d2744ae4984ea54e2ca9e5128ce7fe..53b26933b12cea365457f95172fbde6990043ff1 100644 (file)
@@ -382,7 +382,9 @@ do {                                                                        \
    instruction set this cpu supports.  This could be done in userspace,
    but it's not easy, and we've already done it here.  */
 
-#define ELF_HWCAP      (0)
+#define ELF_HWCAP      (elf_hwcap)
+extern unsigned int elf_hwcap;
+#include <asm/hwcap.h>
 
 /*
  * This yields a string that ld.so will use to load implementation