lkml.org 
[lkml]   [2016]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] shrinker: add atomic.h include
Date
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
\
 
 \ /
  Last update: 2016-07-29 19:21    [W:0.037 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site