Changeset 3ec5f20 in rtems


Ignore:
Timestamp:
07/27/20 01:23:19 (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
5869c647
Parents:
14749c45
git-author:
Chris Johns <chrisj@…> (07/27/20 01:23:19)
git-committer:
Chris Johns <chrisj@…> (08/12/20 02:59:09)
Message:

powerpc/io: The eieio() function clashes with FreeBSD. Change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/include/libcpu/io.h

    r14749c45 r3ec5f20  
    5151 * completed before any further ones are issued.
    5252 */
    53 static inline void eieio(void)
     53static inline void io_eieio(void)
    5454{
    5555        __asm__ __volatile__ ("eieio");
     
    6060 * No distinction between read/write on PPC; use eieio for all three.
    6161 */
    62 #define iobarrier_rw() eieio()
    63 #define iobarrier_r()  eieio()
    64 #define iobarrier_w()  eieio()
     62#define iobarrier_rw() io_eieio()
     63#define iobarrier_r()  io_eieio()
     64#define iobarrier_w()  io_eieio()
    6565
    6666/*
Note: See TracChangeset for help on using the changeset viewer.