Changeset 5284e812 in rtems


Ignore:
Timestamp:
07/27/20 01:23:19 (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5
Children:
7661402
Parents:
e95c00a7
git-author:
Chris Johns <chrisj@…> (07/27/20 01:23:19)
git-committer:
Chris Johns <chrisj@…> (08/12/20 03:02:14)
Message:

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

Closes #4021

File:
1 edited

Legend:

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

    re95c00a7 r5284e812  
    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.