el. https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.0.y 2018-12-17T17:19:49Z net: unbreak CONFIG_RETPOLINE=n builds 2018-12-17T17:19:49Z Paolo Abeni pabeni@redhat.com 2018-12-17T11:39:02Z urn:sha1:c03b0358ab60504151b35587c88205c7b7fe22be The kbuild bot reported a build breakage with CONFIG_RETPOLINE=n due to commit aaa5d90b395a ("net: use indirect call wrappers at GRO network layer"). I screwed the wrapper implementation for such config. Fix the issue properly ignoring the builtin symbols arguments, when retpoline is not enabled. Reported-by: kbuild test robot <lkp@intel.com> Fixes: aaa5d90b395a ("net: use indirect call wrappers at GRO network layer") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> indirect call wrappers: helpers to speed-up indirect calls of builtin 2018-12-15T21:23:02Z Paolo Abeni pabeni@redhat.com 2018-12-14T10:51:57Z urn:sha1:283c16a2dfd332bf5610c874f7b9f9c8b601ce53 This header define a bunch of helpers that allow avoiding the retpoline overhead when calling builtin functions via function pointers. It boils down to explicitly comparing the function pointers to known builtin functions and eventually invoke directly the latter. The macros defined here implement the boilerplate for the above schema and will be used by the next patches. rfc -> v1: - use branch prediction hint, as suggested by Eric v1 -> v2: - list explicitly the builtin function names in INDIRECT_CALL_*(), as suggested by Ed Cree Suggested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>