Ignore:
Timestamp:
2023-02-03T17:01:49Z (2 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aae2869
Parents:
64e9cf4
Message:

Turn spin look hint into a function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/arch/asm.h

    r64e9cf4 r8addb24a  
    6565}
    6666
     67_NO_TRACE static inline void cpu_spin_hint(void)
     68{
    6769#ifdef PROCESSOR_ARCH_armv7_a
    68 #define ARCH_SPIN_HINT() asm volatile ("yield")
     70        asm volatile ("yield");
    6971#endif
     72}
    7073
    7174_NO_TRACE static inline void pio_write_8(ioport8_t *port, uint8_t v)
Note: See TracChangeset for help on using the changeset viewer.