From 6c2d6444b15ef1d16b39ccf7c7a96a1141bbcd5b Mon Sep 17 00:00:00 2001 From: Jincheng Miao Date: Fri, 25 Apr 2014 12:08:04 +0800 Subject: [PATCH] Adding preempt_mask.h to core.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When compiling core.c, it may report error like: "error: implicit declaration of function ‘in_nmi’" Adding header file in_nmi defined could avoid this. Signed-off-by: Jincheng Miao --- kmod/core/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kmod/core/core.c b/kmod/core/core.c index 8e1a112..640ac06 100644 --- a/kmod/core/core.c +++ b/kmod/core/core.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include "kpatch.h"