Commit-ID: 689defb7f70e02089ecd263dc4076df994406a07 Gitweb: http://git.kernel.org/tip/689defb7f70e02089ecd263dc4076df994406a07 Author: Cyrill Gorcunov <gorcunov@xxxxxxxxx> AuthorDate: Mon, 25 Jul 2011 12:32:03 +0400 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Mon, 25 Jul 2011 16:45:31 +0300 kvm tools: Fix absence of notrace definition Ingo reported a build breakage caused by absence of 'notrace' definition. Fix it by adding compiler.h into own headers set. Reported-by: Ingo Molnar <mingo@xxxxxxx> Tested-by: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/include/kvm/compiler.h | 6 ++++++ tools/kvm/include/linux/types.h | 1 + 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/tools/kvm/include/kvm/compiler.h b/tools/kvm/include/kvm/compiler.h new file mode 100644 index 0000000..b203480 --- /dev/null +++ b/tools/kvm/include/kvm/compiler.h @@ -0,0 +1,6 @@ +#ifndef KVM_COMPILER_H_ +#define KVM_COMPILER_H_ + +#define notrace __attribute__((no_instrument_function)) + +#endif /* KVM_COMPILER_H_ */ diff --git a/tools/kvm/include/linux/types.h b/tools/kvm/include/linux/types.h index 6feb6da..357799c3 100644 --- a/tools/kvm/include/linux/types.h +++ b/tools/kvm/include/linux/types.h @@ -1,6 +1,7 @@ #ifndef LINUX_TYPES_H #define LINUX_TYPES_H +#include <kvm/compiler.h> #include <asm/types.h> typedef __u64 u64; -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |