On Tue, Oct 10, 2023 at 10:54:23AM +0100, Joey Gouly wrote: > On Thu, Oct 05, 2023 at 03:14:50PM +0100, Mark Brown wrote: > > On Wed, Sep 27, 2023 at 03:01:08PM +0100, Joey Gouly wrote: > > > + if (alternative_has_cap_unlikely(ARM64_HAS_S1POE)) { > > Why the _unlikely here? > The only options are alternative_has_cap_{likely,unlikely}(). > I went with unlikely as currently it is unlikely! Oh, if you have to pick one it doesn't really matter and that seems sensible. Usually they're optional so outside of very hot paths they tend to be an antipattern.
Attachment:
signature.asc
Description: PGP signature