* [PATCH] shrinker: add atomic.h include
@ 2016-07-29 16:37 Allen Martin
0 siblings, 0 replies; only message in thread
From: Allen Martin @ 2016-07-29 16:37 UTC (permalink / raw)
To: dchinner; +Cc: linux-kernel, Allen Martin
Add atomic.h to provide atomic_long_t used in struct shrinker
Signed-off-by: Allen Martin <amartin@nvidia.com>
---
include/linux/shrinker.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/shrinker.h b/include/linux/shrinker.h
index 4fcacd915d45..02ec84b22f4b 100644
--- a/include/linux/shrinker.h
+++ b/include/linux/shrinker.h
@@ -1,6 +1,8 @@
#ifndef _LINUX_SHRINKER_H
#define _LINUX_SHRINKER_H
+#include <linux/atomic.h>
+
/*
* This struct is used to pass information from page reclaim to the shrinkers.
* We consolidate the values for easier extention later.
--
2.9.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-29 16:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-29 16:37 [PATCH] shrinker: add atomic.h include Allen Martin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®