[tip:locking/urgent] locking/refcounts: Add missing kernel.h header to have UINT_MAX defined
From: tip-bot for Elena Reshetova
Date: Fri Feb 24 2017 - 04:18:47 EST
Commit-ID: 318b1dedcd39012624f466d281627553e9fa2570
Gitweb: http://git.kernel.org/tip/318b1dedcd39012624f466d281627553e9fa2570
Author: Elena Reshetova <elena.reshetova@xxxxxxxxx>
AuthorDate: Thu, 23 Feb 2017 15:09:34 +0200
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Fri, 24 Feb 2017 09:02:10 +0100
locking/refcounts: Add missing kernel.h header to have UINT_MAX defined
Fix header dependency.
Suggested-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Signed-off-by: Elena Reshetova <elena.reshetova@xxxxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/1487855374-21993-1-git-send-email-elena.reshetova@xxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
include/linux/refcount.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/refcount.h b/include/linux/refcount.h
index 0e8cfb2..0023fee 100644
--- a/include/linux/refcount.h
+++ b/include/linux/refcount.h
@@ -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;