Re: [PATCH] compiler.h: Move instrumentation_begin()/end() into new <linux/instrumentation.h> header

From: Peter Zijlstra
Date: Thu Jun 04 2020 - 05:38:14 EST


On Thu, Jun 04, 2020 at 10:19:28AM +0200, Ingo Molnar wrote:
> The tested v2 version of the patch also needed the include in
> asm-generic/bug.h (see the fix attached below), because for
> completeness the generic version was annotated as well - even though
> only x86 has objtool support for now.

x86/asm/bug.h includes asm-generic/bug.h.

x86 uses the generic bug infrastructure.