projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29dee3c
)
locking/refcounts: Add missing kernel.h header to have UINT_MAX defined
author
Elena Reshetova
<elena.reshetova@intel.com>
Thu, 23 Feb 2017 13:09:34 +0000
(15:09 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Fri, 24 Feb 2017 08:02:10 +0000
(09:02 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/refcount.h
b/include/linux/refcount.h
index 0e8cfb2ce91e7e6d109023e4483780c3bd4e6694..0023fee4bbbcb4f38c4d3f6f9181e57261c4188a 100644
(file)
--- 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;