From: Allen Martin <amartin@nvidia.com>
To: <dchinner@redhat.com>
Cc: <linux-kernel@vger.kernel.org>, Allen Martin <amartin@nvidia.com>
Subject: [PATCH] shrinker: add atomic.h include
Date: Fri, 29 Jul 2016 09:37:18 -0700 [thread overview]
Message-ID: <20160729163718.8498-1-amartin@nvidia.com> (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
reply other threads:[~2016-07-29 16:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160729163718.8498-1-amartin@nvidia.com \
--to=amartin@nvidia.com \
--cc=dchinner@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®