diff options
author | antoine <antoine@FreeBSD.org> | 2009-12-28 22:56:30 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2009-12-28 22:56:30 +0000 |
commit | bfd388c026e6aeb5427df50347b59d62feb3072e (patch) | |
tree | 368556d68241b943dc9c2ec710bd21f97a0e608d /sys/vm | |
parent | 2414a09002c0b7080b6044e995d127de758f3e12 (diff) | |
download | FreeBSD-src-bfd388c026e6aeb5427df50347b59d62feb3072e.zip FreeBSD-src-bfd388c026e6aeb5427df50347b59d62feb3072e.tar.gz |
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.
PR: 137213
Submitted by: Eygene Ryabinkin (initial version)
MFC after: 1 month
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/uma_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index 8125482..a2d5633 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -122,14 +122,14 @@ static MALLOC_DEFINE(M_UMAHASH, "UMAHash", "UMA Hash Buckets"); static int bucketdisable = 1; /* Linked list of all kegs in the system */ -static LIST_HEAD(,uma_keg) uma_kegs = LIST_HEAD_INITIALIZER(&uma_kegs); +static LIST_HEAD(,uma_keg) uma_kegs = LIST_HEAD_INITIALIZER(uma_kegs); /* This mutex protects the keg list */ static struct mtx uma_mtx; /* Linked list of boot time pages */ static LIST_HEAD(,uma_slab) uma_boot_pages = - LIST_HEAD_INITIALIZER(&uma_boot_pages); + LIST_HEAD_INITIALIZER(uma_boot_pages); /* This mutex protects the boot time pages list */ static struct mtx uma_boot_pages_mtx; |