summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_radix.h
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2013-02-06 18:04:28 +0000
committerattilio <attilio@FreeBSD.org>2013-02-06 18:04:28 +0000
commitc02c27a33d936e06c7f7ab23fcddfe2c22e10ce7 (patch)
treea15cc8d50d96ae252ae4c1d203b06d4c321289e1 /sys/vm/vm_radix.h
parentd3fb98bfb460d0679cc1dcfdedb658c33bd61730 (diff)
downloadFreeBSD-src-c02c27a33d936e06c7f7ab23fcddfe2c22e10ce7.zip
FreeBSD-src-c02c27a33d936e06c7f7ab23fcddfe2c22e10ce7.tar.gz
Avoid a namespace pollution in vm_object.h by defining separately the
structure for vm_radix implementation.
Diffstat (limited to 'sys/vm/vm_radix.h')
-rw-r--r--sys/vm/vm_radix.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/vm/vm_radix.h b/sys/vm/vm_radix.h
index 1a77b3a..3cd92a0 100644
--- a/sys/vm/vm_radix.h
+++ b/sys/vm/vm_radix.h
@@ -29,13 +29,7 @@
#ifndef _VM_RADIX_H_
#define _VM_RADIX_H_
-/*
- * Radix tree root. The height and pointer are set together to permit
- * coherent lookups while the root is modified.
- */
-struct vm_radix {
- uintptr_t rt_root; /* root + height */
-};
+#include <vm/_vm_radix.h>
#ifdef _KERNEL
OpenPOWER on IntegriCloud