From 10c9064bfc4890e5895057021280a0558131e3eb Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Thu, 18 May 2017 14:54:02 +0200 Subject: csource: only handle SIGSEGV when necessary --- executor/common_kvm_amd64.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'executor/common_kvm_amd64.h') diff --git a/executor/common_kvm_amd64.h b/executor/common_kvm_amd64.h index dd37733ed..e4753223e 100644 --- a/executor/common_kvm_amd64.h +++ b/executor/common_kvm_amd64.h @@ -7,6 +7,15 @@ // See Intel Software Developer’s Manual Volume 3: System Programming Guide // for details on what happens here. +// We could put each NONFAILING use in this file under ifdef, +// but I don't think it's worth it. +#ifndef NONFAILING +#define NONFAILING(x) \ + { \ + x; \ + } +#endif + #include "kvm.S.h" #include "kvm.h" -- cgit mrf-deployment