[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160729163718.8498-1-amartin@nvidia.com>
Date: Fri, 29 Jul 2016 09:37:18 -0700
From: Allen Martin <amartin@...dia.com>
To: <dchinner@...hat.com>
CC: <linux-kernel@...r.kernel.org>, Allen Martin <amartin@...dia.com>
Subject: [PATCH] shrinker: add atomic.h include
Add atomic.h to provide atomic_long_t used in struct shrinker
Signed-off-by: Allen Martin <amartin@...dia.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
Powered by blists - more mailing lists