Changeset ea121a0 in rtems-libbsd


Ignore:
Timestamp:
Jan 16, 2018, 12:06:39 PM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
eeb3fd5d9b07ac9a2e280cff60a1b762bd273a8d, 1e989998de954bef51e6c19cc3d64d39f32100aa
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.