stack: add hwcap auxval
Fix the AUXV_LEN to account for hwcap and remove the ifdefs Change-Id: I303fc2c5fa4c8cea7ec9823f8580b8a66de2f58f Fujitsu: POSTK_DEBUG_ARCH_DEP_65
This commit is contained in:
@@ -10,9 +10,7 @@
|
||||
#include <ptrace.h>
|
||||
#include <hwcap.h>
|
||||
|
||||
#ifdef POSTK_DEBUG_ARCH_DEP_65
|
||||
unsigned long elf_hwcap;
|
||||
#endif /* POSTK_DEBUG_ARCH_DEP_65 */
|
||||
|
||||
/* @ref.impl arch/arm64/kernel/cpufeature.c */
|
||||
#define __ARM64_FTR_BITS(SIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \
|
||||
@@ -997,9 +995,7 @@ void setup_cpu_features(void)
|
||||
setup_elf_hwcaps(arm64_elf_hwcaps);
|
||||
}
|
||||
|
||||
#ifdef POSTK_DEBUG_ARCH_DEP_65
|
||||
unsigned long arch_get_hwcap(void)
|
||||
{
|
||||
return elf_hwcap;
|
||||
}
|
||||
#endif /* POSTK_DEBUG_ARCH_DEP_65 */
|
||||
|
||||
Reference in New Issue
Block a user