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/amd64/include/arch/asm.h

    r64e9cf4 r8addb24a  
    5959}
    6060
    61 #define ARCH_SPIN_HINT() asm volatile ("pause\n")
     61_NO_TRACE static inline void cpu_spin_hint(void)
     62{
     63        asm volatile (
     64            "pause\n"
     65        );
     66}
    6267
    6368/** Byte from port
Note: See TracChangeset for help on using the changeset viewer.