diff options
author | Peter Zijlstra <[email protected]> | 2020-02-19 18:25:09 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 15:14:53 +0200 |
commit | df65bba1dcd8ffadd922a71196b78c6d7630c33b (patch) | |
tree | 4e63ec64b11079ba25d827122b7e25b97423a3b1 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | ef882bfef933408360e4d9d0c2c83a1e2fc996f3 (diff) |
lib/bsearch: Provide __always_inline variant
For code that needs the ultimate performance (it can inline the @cmp
function too) or simply needs to avoid calling external functions for
whatever reason, provide an __always_inline variant of bsearch().
[ tglx: Renamed to __inline_bsearch() as suggested by Andy ]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Alexandre Chartre <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions