summaryrefslogtreecommitdiff
path: root/include/linux/shrinker.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2011-12-22 09:22:58 -0800
committerOlof Johansson <olof@lixom.net>2011-12-22 09:22:58 -0800
commit53bf82ce766b17436a6e9c672f9fa29702f3731e (patch)
tree50547bbc8d5c9f9156f1220b712a99e48dbaf43f /include/linux/shrinker.h
parent5e8d3183bb605a937fc89b857691f75682aa099e (diff)
parent4a4de1d9b47156525ceb46c7faf6ae4042d90aa7 (diff)
Merge branch 'omap/fixes-hwmod' into next/fixes-non-critical
* omap/fixes-hwmod: (359 commits) ARM: OMAP: hwmod data: fix the panic on Nokia RM-680 during boot ARM: OMAP: hwmod data: fix iva and mailbox hwmods for OMAP 3 ARM: OMAP: rx51: fix USB ARM: OMAP: mcbsp: Fix possible memory corruption ...
Diffstat (limited to 'include/linux/shrinker.h')
-rw-r--r--include/linux/shrinker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/shrinker.h b/include/linux/shrinker.h
index a83833a1f7a2..07ceb97d53fa 100644
--- a/include/linux/shrinker.h
+++ b/include/linux/shrinker.h
@@ -35,7 +35,7 @@ struct shrinker {
/* These are for internal use */
struct list_head list;
- long nr; /* objs pending delete */
+ atomic_long_t nr_in_batch; /* objs pending delete */
};
#define DEFAULT_SEEKS 2 /* A good number if you don't know better. */
extern void register_shrinker(struct shrinker *);