|
@@ -258,6 +258,15 @@ extern int force_personality32;
|
|
|
|
|
|
#define ELF_HWCAP (boot_cpu_data.x86_capability[CPUID_1_EDX])
|
|
#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
|
|
/* This yields a string that ld.so will use to load implementation
|
|
specific libraries for optimization. This is more specific in
|
|
specific libraries for optimization. This is more specific in
|
|
intent than poking at uname or /proc/cpuinfo.
|
|
intent than poking at uname or /proc/cpuinfo.
|