Changeset ea121a0 in rtems-libbsd


Ignore:
Timestamp:
01/16/18 12:06:39 (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, 5-freebsd-12, 6-freebsd-12, master
Children:
13c4093
Parents:
4e17f14
git-author:
Sebastian Huber <sebastian.huber@…> (01/16/18 12:06:39)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/19/18 13:51:51)
Message:

ZONE(9): Avoid function call overhead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/vm/uma_core.c

    r4e17f14 rea121a0  
    100100#ifdef __rtems__
    101101  #ifdef RTEMS_SMP
     102    #include <rtems/score/smp.h>
     103
    102104    /*
    103105     * It is essential that we have a per-processor cache, otherwise the
     
    105107     */
    106108    #undef curcpu
    107     #define curcpu rtems_get_current_processor()
     109    #define curcpu _SMP_Get_current_processor()
    108110    #undef mp_maxid
    109111    #define mp_maxid (rtems_get_processor_count() - 1)
Note: See TracChangeset for help on using the changeset viewer.