mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-02 03:33:51 +08:00
Fix mbuf_jumbo_alloc()
This commit is contained in:
parent
7614758c11
commit
c418b7a213
@ -425,9 +425,9 @@ static void *
|
||||
mbuf_jumbo_alloc(uma_zone_t zone, int bytes, uint8_t *flags, int wait)
|
||||
{
|
||||
|
||||
#ifndef __rtems__
|
||||
/* Inform UMA that this allocator uses kernel_map/object. */
|
||||
*flags = UMA_SLAB_KERNEL;
|
||||
#ifndef __rtems__
|
||||
return ((void *)kmem_alloc_contig(kernel_map, bytes, wait,
|
||||
(vm_paddr_t)0, ~(vm_paddr_t)0, 1, 0, VM_MEMATTR_DEFAULT));
|
||||
#else /* __rtems__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user