x86: Use POPCNT mnemonics in arch_hweight.h
authorUros Bizjak <ubizjak@gmail.com>
Sun, 14 Oct 2018 20:23:54 +0000 (22:23 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 5 Nov 2018 09:42:32 +0000 (10:42 +0100)
commit566b62a3676caed1f8c626e26066ff3ae3a38918
treea3fa577164533cb0fb2af5e3c1aaff9fa8f71a94
parent651022382c7f8da46cb4872a545ee1da6d097d2a
x86: Use POPCNT mnemonics in arch_hweight.h

Recently, the minimum required version of binutils was changed to
2.20, which supports POPCNT instruction mnemonics.

Replace the byte-wise specification of POPCNT with those proper
mnemonics.

 [ bp: massage commit message and remove line breaks. ]

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20181014202354.21281-1-ubizjak@gmail.com
arch/x86/include/asm/arch_hweight.h