Changeset 23b14f87 in rtems


Ignore:
Timestamp:
Aug 22, 2014, 8:20:16 PM (6 years ago)
Author:
Hesham ALMatary <heshamelmatary@…>
Branches:
4.11, 5, master
Children:
eeea9e3
Parents:
4b104834
git-author:
Hesham ALMatary <heshamelmatary@…> (08/22/14 20:20:16)
git-committer:
Joel Sherrill <joel.sherrill@…> (08/25/14 16:12:16)
Message:

sptests/spcache01: Make inline assembly conditional to account for OpenRISC l.nop instruction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spcache01/init.c

    r4b104834 r23b14f87  
    2828const char rtems_test_name[] = "SPCACHE 1";
    2929
    30 #define I() __asm__ volatile ("nop")
     30#ifdef __or1k__
     31  #define I() __asm__ volatile ("l.nop")
     32#else
     33  #define I() __asm__ volatile ("nop")
     34#endif
    3135
    3236#define I8() I(); I(); I(); I(); I(); I(); I(); I()
Note: See TracChangeset for help on using the changeset viewer.