mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-21 23:37:29 +08:00
ZONE(9): Disable uma_prealloc()
This commit is contained in:
parent
278bc93a59
commit
4dab3a04bb
@ -3055,7 +3055,6 @@ uma_zone_set_obj(uma_zone_t zone, struct vm_object *obj, int count)
|
|||||||
ZONE_UNLOCK(zone);
|
ZONE_UNLOCK(zone);
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
#endif /* __rtems__ */
|
|
||||||
|
|
||||||
/* See uma.h */
|
/* See uma.h */
|
||||||
void
|
void
|
||||||
@ -3080,6 +3079,7 @@ uma_prealloc(uma_zone_t zone, int items)
|
|||||||
}
|
}
|
||||||
ZONE_UNLOCK(zone);
|
ZONE_UNLOCK(zone);
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
/* See uma.h */
|
/* See uma.h */
|
||||||
u_int32_t *
|
u_int32_t *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user