diff options
author | Elena Reshetova <elena.reshetova@intel.com> | 2017-02-23 15:09:34 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-02-24 09:02:10 +0100 |
commit | 318b1dedcd39012624f466d281627553e9fa2570 (patch) | |
tree | 02038b04196da3222ca538c7e1a3e79ff03f375f /include/linux/refcount.h | |
parent | 29dee3c03abce04cd527878ef5f9e5f91b7b83f4 (diff) |
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>
Diffstat (limited to 'include/linux/refcount.h')
-rw-r--r-- | include/linux/refcount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/refcount.h b/include/linux/refcount.h index 0e8cfb2ce91e..0023fee4bbbc 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; |