提交 318b1ded 编写于 作者: E Elena Reshetova 提交者: Ingo Molnar

locking/refcounts: Add missing kernel.h header to have UINT_MAX defined

Fix header dependency.
Suggested-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: NElena Reshetova <elena.reshetova@intel.com>
Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1487855374-21993-1-git-send-email-elena.reshetova@intel.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 29dee3c0
......@@ -4,6 +4,7 @@
#include <linux/atomic.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/kernel.h>
typedef struct refcount_struct {
atomic_t refs;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册