[RFC PATCH 11/15] x86: Use ISO bitops

2016-05-18 Thread David Howells
Make x86 use the ISO intrinsic bitops. This boots fine, however it can't NOP out the LOCK prefixes if the number of online CPUs is 1. Without this patch, according to size -A, .text for my test kernel is: .text 6268277 18446744071578845184 with this patch:

[RFC PATCH 11/15] x86: Use ISO bitops

2016-05-18 Thread David Howells
Make x86 use the ISO intrinsic bitops. This boots fine, however it can't NOP out the LOCK prefixes if the number of online CPUs is 1. Without this patch, according to size -A, .text for my test kernel is: .text 6268277 18446744071578845184 with this patch: