[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-318b1dedcd39012624f466d281627553e9fa2570@git.kernel.org>
Date: Fri, 24 Feb 2017 01:17:59 -0800
From: tip-bot for Elena Reshetova <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, torvalds@...ux-foundation.org, hpa@...or.com,
peterz@...radead.org, elena.reshetova@...el.com,
tglx@...utronix.de, acme@...hat.com, linux-kernel@...r.kernel.org
Subject: [tip:locking/urgent] locking/refcounts: Add missing kernel.h header
to have UINT_MAX defined
Commit-ID: 318b1dedcd39012624f466d281627553e9fa2570
Gitweb: http://git.kernel.org/tip/318b1dedcd39012624f466d281627553e9fa2570
Author: Elena Reshetova <elena.reshetova@...el.com>
AuthorDate: Thu, 23 Feb 2017 15:09:34 +0200
Committer: Ingo Molnar <mingo@...nel.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@...hat.com>
Signed-off-by: Elena Reshetova <elena.reshetova@...el.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/1487855374-21993-1-git-send-email-elena.reshetova@intel.com
Signed-off-by: Ingo Molnar <mingo@...nel.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;
Powered by blists - more mailing lists