Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Fill struct shr...
details: https://anonhg.NetBSD.org/src/rev/478d9e972917
branches: riastradh-drm2
changeset: 788376:478d9e972917
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:30:02 2013 +0000
description:
Fill struct shrink_control with nr_to_scan in <linux/shrinker.h>.
i915_gem wants to use it.
diffstat:
sys/external/bsd/drm2/include/linux/shrinker.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r f21c1ebf59b7 -r 478d9e972917 sys/external/bsd/drm2/include/linux/shrinker.h
--- a/sys/external/bsd/drm2/include/linux/shrinker.h Wed Jul 24 03:29:43 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/shrinker.h Wed Jul 24 03:30:02 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: shrinker.h,v 1.1.2.1 2013/07/24 03:07:48 riastradh Exp $ */
+/* $NetBSD: shrinker.h,v 1.1.2.2 2013/07/24 03:30:02 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,9 @@
#ifndef _LINUX_SHRINKER_H_
#define _LINUX_SHRINKER_H_
-struct shrink_control;
+struct shrink_control {
+ unsigned long nr_to_scan;
+};
struct shrinker {
int (*shrink)(struct shrinker *, struct shrink_control *);
Home |
Main Index |
Thread Index |
Old Index