summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch_hweight.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-05-16 11:02:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-16 11:02:27 -0700
commitd396360acdf7e57edcd9e2d080343b0353d65d63 (patch)
tree735baf5df67bceb65af02728948494f2451cbefd /arch/x86/include/asm/arch_hweight.h
parentb2c3dda6f8f06d825b9b6099f57b906c774141c0 (diff)
parent9d8d0294e78a164d407133dea05caf4b84247d6a (diff)
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: "Misc fixes and updates: - a handful of MDS documentation/comment updates - a cleanup related to hweight interfaces - a SEV guest fix for large pages - a kprobes LTO fix - and a final cleanup commit for vDSO HPET support removal" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/speculation/mds: Improve CPU buffer clear documentation x86/speculation/mds: Revert CPU buffer clear on double fault exit x86/kconfig: Disable CONFIG_GENERIC_HWEIGHT and remove __HAVE_ARCH_SW_HWEIGHT x86/mm: Do not use set_{pud, pmd}_safe() when splitting a large page x86/kprobes: Make trampoline_handler() global and visible x86/vdso: Remove hpet_page from vDSO
Diffstat (limited to 'arch/x86/include/asm/arch_hweight.h')
-rw-r--r--arch/x86/include/asm/arch_hweight.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/arch_hweight.h b/arch/x86/include/asm/arch_hweight.h
index fc0693569f7a..ba88edd0d58b 100644
--- a/arch/x86/include/asm/arch_hweight.h
+++ b/arch/x86/include/asm/arch_hweight.h
@@ -12,8 +12,6 @@
#define REG_OUT "a"
#endif
-#define __HAVE_ARCH_SW_HWEIGHT
-
static __always_inline unsigned int __arch_hweight32(unsigned int w)
{
unsigned int res;