Changeset ea121a0 in rtems-libbsd


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