Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Don't nest structure definitions.



details:   https://anonhg.NetBSD.org/src/rev/166a2a79abff
branches:  trunk
changeset: 802197:166a2a79abff
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Sep 05 09:24:21 2014 +0000

description:
Don't nest structure definitions.

diffstat:

 sys/uvm/uvm_bio.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 6a708d3cf18e -r 166a2a79abff sys/uvm/uvm_bio.c
--- a/sys/uvm/uvm_bio.c Fri Sep 05 09:23:40 2014 +0000
+++ b/sys/uvm/uvm_bio.c Fri Sep 05 09:24:21 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_bio.c,v 1.81 2014/07/07 20:14:43 riastradh Exp $   */
+/*     $NetBSD: uvm_bio.c,v 1.82 2014/09/05 09:24:21 matt Exp $        */
 
 /*
  * Copyright (c) 1998 Chuck Silvers.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.81 2014/07/07 20:14:43 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.82 2014/09/05 09:24:21 matt Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_ubc.h"
@@ -93,6 +93,7 @@
        LIST_ENTRY(ubc_map)     list;           /* per-object list */
 };
 
+TAILQ_HEAD(ubc_inactive_head, ubc_map);
 static struct ubc_object {
        struct uvm_object uobj;         /* glue for uvm_map() */
        char *kva;                      /* where ubc_object is mapped */
@@ -101,7 +102,7 @@
        LIST_HEAD(, ubc_map) *hash;     /* hashtable for cached ubc_map's */
        u_long hashmask;                /* mask for hashtable */
 
-       TAILQ_HEAD(ubc_inactive_head, ubc_map) *inactive;
+       struct ubc_inactive_head *inactive;
                                        /* inactive queues for ubc_map's */
 } ubc_object;
 



Home | Main Index | Thread Index | Old Index