[rtems-libbsd commit] memstat_all.c: Disable memstat_kvm_all()
Joel Sherrill
joel at rtems.org
Tue Oct 23 16:09:59 UTC 2012
Module: rtems-libbsd
Branch: master
Commit: 9fb2d3d089fa6ed6c786927d7c5271d8c4852ab2
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=9fb2d3d089fa6ed6c786927d7c5271d8c4852ab2
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Oct 22 10:53:59 2012 -0500
memstat_all.c: Disable memstat_kvm_all()
---
freebsd-userspace/lib/libmemstat/memstat_all.c | 2 ++
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 bd74b8a..a943e65 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
More information about the vc
mailing list