x86/lib/memset_64.S: Convert to ALTERNATIVE_2 macro
authorBorislav Petkov <bp@suse.de>
Wed, 4 Feb 2015 07:57:00 +0000 (08:57 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 23 Feb 2015 12:50:59 +0000 (13:50 +0100)
Make alternatives replace single JMPs instead of whole memset functions,
thus decreasing the amount of instructions copied during patching time
at boot.

While at it, make it use the REP_GOOD version by default which means
alternatives NOP out the JMP to the other versions, as REP_GOOD is set
by default on the majority of relevant x86 processors.

Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/lib/memset_64.S

Simple merge