]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/x86/include/asm/elf.h
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / arch / x86 / include / asm / elf.h
index e7f155c3045e1b81d6b60e7af3ae7522e8c0f269..9d49c18b5ea9360feb5e5bb1fe378914154f34d5 100644 (file)
@@ -258,6 +258,15 @@ extern int force_personality32;
 
 #define ELF_HWCAP              (boot_cpu_data.x86_capability[CPUID_1_EDX])
 
+extern u32 elf_hwcap2;
+
+/*
+ * HWCAP2 supplies mask with kernel enabled CPU features, so that
+ * the application can discover that it can safely use them.
+ * The bits are defined in uapi/asm/hwcap2.h.
+ */
+#define ELF_HWCAP2             (elf_hwcap2)
+
 /* This yields a string that ld.so will use to load implementation
    specific libraries for optimization.  This is more specific in
    intent than poking at uname or /proc/cpuinfo.