* [tip:locking/urgent] locking/refcounts: Add missing kernel.h header to have UINT_MAX defined
[not found] <1487855374-21993-1-git-send-email-elena.reshetova@intel.com>
@ 2017-02-24 9:17 ` tip-bot for Elena Reshetova
0 siblings, 0 replies; only message in thread
From: tip-bot for Elena Reshetova @ 2017-02-24 9:17 UTC (permalink / raw)
To: linux-tip-commits
Cc: mingo, torvalds, hpa, peterz, elena.reshetova, tglx, acme, linux-kernel
Commit-ID: 318b1dedcd39012624f466d281627553e9fa2570
Gitweb: http://git.kernel.org/tip/318b1dedcd39012624f466d281627553e9fa2570
Author: Elena Reshetova <elena.reshetova@intel.com>
AuthorDate: Thu, 23 Feb 2017 15:09:34 +0200
Committer: Ingo Molnar <mingo@kernel.org>
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@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>
---
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;
^ permalink raw reply [flat|nested] only message in thread