Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-localcount]: src/sys/dev/pud And use the address of the localco...
details: https://anonhg.NetBSD.org/src/rev/f9b1c4c7c3a6
branches: pgoyette-localcount
changeset: 852819:f9b1c4c7c3a6
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Jul 18 22:00:05 2016 +0000
description:
And use the address of the localcount ...
diffstat:
sys/dev/pud/pud_dev.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 058325e57284 -r f9b1c4c7c3a6 sys/dev/pud/pud_dev.c
--- a/sys/dev/pud/pud_dev.c Mon Jul 18 21:55:44 2016 +0000
+++ b/sys/dev/pud/pud_dev.c Mon Jul 18 22:00:05 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pud_dev.c,v 1.7.2.1 2016/07/18 21:55:44 pgoyette Exp $ */
+/* $NetBSD: pud_dev.c,v 1.7.2.2 2016/07/18 22:00:05 pgoyette Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pud_dev.c,v 1.7.2.1 2016/07/18 21:55:44 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pud_dev.c,v 1.7.2.2 2016/07/18 22:00:05 pgoyette Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -113,7 +113,7 @@
.d_psize = pud_bdev_size,
#endif
#ifdef _MODULE
- .d_localcount = pud_b_localcount,
+ .d_localcount = &pud_b_localcount,
#endif
};
@@ -219,7 +219,7 @@
.d_mmap = pud_cdev_mmap,
.d_kqfilter = pud_cdev_kqfilter,
#ifdef _MODULE
- .d_localcount = pud_b_localcount,
+ .d_localcount = &pud_b_localcount,
#endif
.d_flag = D_OTHER,
};
Home |
Main Index |
Thread Index |
Old Index