Ignore:
Timestamp:
Sep 14, 2018, 12:04:09 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 68e79b6d187fe09b0a6f3f1d22c69b4121a3f76e, 33bfaee89aa71d2252eb48d6b9a9ec17183faced
Children:
be6515d
Parents:
3489e3b
git-author:
Sebastian Huber <sebastian.huber@…> (09/14/18 12:04:09)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/21/18 08:29:42)
Message:

ck: No hardware barriers in uniprocessor configs

Update #3472.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/contrib/ck/include/gcc/ppc/ck_pr.h

    r3489e3b r1af372a  
    6868        }
    6969
     70#ifdef RTEMS_SMP
    7071#ifdef CK_MD_PPC32_LWSYNC
    7172#define CK_PR_LWSYNCOP "lwsync"
     
    7374#define CK_PR_LWSYNCOP "sync"
    7475#endif
     76#define CK_PR_SYNCOP "sync"
     77#else /* !RTEMS_SMP */
     78#define CK_PR_LWSYNCOP ""
     79#define CK_PR_SYNCOP ""
     80#endif /* RTEMS_SMP */
    7581
    7682CK_PR_FENCE(atomic, CK_PR_LWSYNCOP)
    7783CK_PR_FENCE(atomic_store, CK_PR_LWSYNCOP)
    78 CK_PR_FENCE(atomic_load, "sync")
     84CK_PR_FENCE(atomic_load, CK_PR_SYNCOP)
    7985CK_PR_FENCE(store_atomic, CK_PR_LWSYNCOP)
    8086CK_PR_FENCE(load_atomic, CK_PR_LWSYNCOP)
    8187CK_PR_FENCE(store, CK_PR_LWSYNCOP)
    82 CK_PR_FENCE(store_load, "sync")
     88CK_PR_FENCE(store_load, CK_PR_SYNCOP)
    8389CK_PR_FENCE(load, CK_PR_LWSYNCOP)
    8490CK_PR_FENCE(load_store, CK_PR_LWSYNCOP)
    85 CK_PR_FENCE(memory, "sync")
     91CK_PR_FENCE(memory, CK_PR_SYNCOP)
    8692CK_PR_FENCE(acquire, CK_PR_LWSYNCOP)
    8793CK_PR_FENCE(release, CK_PR_LWSYNCOP)
     
    9197
    9298#undef CK_PR_LWSYNCOP
     99#undef CK_PR_SYNCOP
    93100
    94101#undef CK_PR_FENCE
Note: See TracChangeset for help on using the changeset viewer.