Adding preempt_mask.h to core.c

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 <jincheng.miao@gmail.com>
This commit is contained in:
Jincheng Miao 2014-04-25 12:08:04 +08:00
parent 32d6609c19
commit 6c2d6444b1
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@
#include <linux/stop_machine.h>
#include <linux/ftrace.h>
#include <linux/hashtable.h>
#include <linux/preempt_mask.h>
#include <asm/stacktrace.h>
#include <asm/cacheflush.h>
#include "kpatch.h"