PERFORCE change 180304 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Jun 28 20:14:28 UTC 2010
http://p4web.freebsd.org/@@180304?ac=10
Change 180304 by trasz at trasz_victim on 2010/06/28 20:13:30
Fix build with HRL enabled.
Affected files ...
.. //depot/projects/soc2009/trasz_limits/sys/kern/kern_container.c#5 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_container.c#5 (text+ko) ====
@@ -246,6 +246,9 @@
int
hrl_alloc(struct proc *p, int resource, uint64_t amount)
{
+#ifdef HRL
+ int error;
+#endif
#if 0
printf("hrl_alloc: allocating %ju of %s for %s (pid %d)\n", amount, hrl_resource_name(resource), p->p_comm, p->p_pid);
@@ -279,6 +282,9 @@
hrl_allocated(struct proc *p, int resource, uint64_t amount)
{
int64_t diff;
+#ifdef HRL
+ int error;
+#endif
#if 0
printf("hrl_allocated: allocated %lld of %s for %s (pid %d)\n", amount, hrl_resource_name(resource), p->p_comm, p->p_pid);
More information about the p4-projects
mailing list