diff options
Diffstat (limited to 'freebsd/sys/sys/pcpu.h')
-rw-r--r-- | freebsd/sys/sys/pcpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/sys/sys/pcpu.h b/freebsd/sys/sys/pcpu.h index de5936f6..0ce30af7 100644 --- a/freebsd/sys/sys/pcpu.h +++ b/freebsd/sys/sys/pcpu.h @@ -227,7 +227,11 @@ extern struct pcpu *cpuid_to_pcpu[]; #endif #define curvidata PCPU_GET(vidata) +#ifndef __rtems__ #define UMA_PCPU_ALLOC_SIZE PAGE_SIZE +#else /* __rtems__ */ +#define UMA_PCPU_ALLOC_SIZE (PAGE_SIZE / 32) +#endif /* __rtems__ */ #ifndef __rtems__ #ifdef CTASSERT |