mirror of https://github.com/dynup/kpatch
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:
parent
32d6609c19
commit
6c2d6444b1
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue