Messages in this thread Patch in this message | | | Date | Fri, 24 Feb 2017 01:17:59 -0800 | From | tip-bot for Elena Reshetova <> | 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@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;
| |