summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch_hweight.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/arch_hweight.h')
-rw-r--r--arch/x86/include/asm/arch_hweight.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch_hweight.h b/arch/x86/include/asm/arch_hweight.h
index 259a7c1ef..02e799fa4 100644
--- a/arch/x86/include/asm/arch_hweight.h
+++ b/arch/x86/include/asm/arch_hweight.h
@@ -1,6 +1,8 @@
#ifndef _ASM_X86_HWEIGHT_H
#define _ASM_X86_HWEIGHT_H
+#include <asm/cpufeatures.h>
+
#ifdef CONFIG_64BIT
/* popcnt %edi, %eax -- redundant REX prefix for alignment */
#define POPCNT32 ".byte 0xf3,0x40,0x0f,0xb8,0xc7"