commit | 84d95ad4cb9015ea953bf14cea05ba371d4d42bb | [log] [tgz] |
---|---|---|
author | Borislav Petkov <bp@suse.de> | Wed Feb 04 08:57:00 2015 +0100 |
committer | Borislav Petkov <bp@suse.de> | Mon Feb 23 13:50:59 2015 +0100 |
tree | 92667e47bc9e3dfee4c147141da1cf0d07777b13 | |
parent | a930dc4543a2b213deb9fde12682716edff8a4a6 [diff] |
x86/lib/memset_64.S: Convert to ALTERNATIVE_2 macro 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>