Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452475

[PATCH] shrinker: add atomic.h include

From Allen Martin <amartin@nvidia.com>
Newsgroups linux.kernel
Subject [PATCH] shrinker: add atomic.h include
Date 2016-07-29 18:50 +0200
Message-ID <s0j8Z-7az-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] shrinker: add atomic.h include Allen Martin <amartin@nvidia.com> - 2016-07-29 18:50 +0200

csiph-web