浏览代码

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

Fix header dependency.

Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Peter 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.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Elena Reshetova 8 年之前
父节点
当前提交
318b1dedcd
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/linux/refcount.h

+ 1 - 0
include/linux/refcount.h

@@ -4,6 +4,7 @@
 #include <linux/atomic.h>
 #include <linux/atomic.h>
 #include <linux/mutex.h>
 #include <linux/mutex.h>
 #include <linux/spinlock.h>
 #include <linux/spinlock.h>
+#include <linux/kernel.h>
 
 
 typedef struct refcount_struct {
 typedef struct refcount_struct {
 	atomic_t refs;
 	atomic_t refs;