From 9a550b310ca37667389bc71f74d419e96143d052 Mon Sep 17 00:00:00 2001 From: Takayuki Okamoto Date: Wed, 6 Sep 2017 11:10:32 +0900 Subject: [PATCH] Add hwcap.h for x86 --- arch/x86/kernel/include/hwcap.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arch/x86/kernel/include/hwcap.h diff --git a/arch/x86/kernel/include/hwcap.h b/arch/x86/kernel/include/hwcap.h new file mode 100644 index 00000000..fc2b38f7 --- /dev/null +++ b/arch/x86/kernel/include/hwcap.h @@ -0,0 +1,12 @@ +/* hwcap.h COPYRIGHT FUJITSU LIMITED 2017 */ +#ifdef POSTK_DEBUG_ARCH_DEP_65 +#ifndef _UAPI__ASM_HWCAP_H +#define _UAPI__ASM_HWCAP_H + +static unsigned long arch_get_hwcap(void) +{ + return 0; +} + +#endif /* _UAPI__ASM_HWCAP_H */ +#endif /* POSTK_DEBUG_ARCH_DEP_65 */