summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-22 10:53:59 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-23 11:13:57 -0500
commit9fb2d3d089fa6ed6c786927d7c5271d8c4852ab2 (patch)
treec8b0ec3654dc0f14b061393099ff518fd3208a78
parentroute command: Clean up kernal symbol accesses (diff)
downloadrtems-libbsd-9fb2d3d089fa6ed6c786927d7c5271d8c4852ab2.tar.bz2
memstat_all.c: Disable memstat_kvm_all()
-rw-r--r--freebsd-userspace/lib/libmemstat/memstat_all.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd-userspace/lib/libmemstat/memstat_all.c b/freebsd-userspace/lib/libmemstat/memstat_all.c
index bd74b8ac..a943e653 100644
--- a/freebsd-userspace/lib/libmemstat/memstat_all.c
+++ b/freebsd-userspace/lib/libmemstat/memstat_all.c
@@ -46,6 +46,7 @@ memstat_sysctl_all(struct memory_type_list *mtlp, int flags)
return (0);
}
+#ifndef __rtems__
int
memstat_kvm_all(struct memory_type_list *mtlp, void *kvm_handle)
{
@@ -56,3 +57,4 @@ memstat_kvm_all(struct memory_type_list *mtlp, void *kvm_handle)
return (-1);
return (0);
}
+#endif