Ignore:
File:
1 edited

Legend:

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

    r49a736e2 r9d58539  
    4343#include <trace.h>
    4444
    45 /** No such instruction on old ARM to sleep CPU.
    46  *
    47  * ARMv7 introduced wait for event and wait for interrupt (wfe/wfi).
    48  */
     45/** No such instruction on ARM to sleep CPU. */
    4946NO_TRACE static inline void cpu_sleep(void)
    5047{
    51 #ifdef PROCESSOR_armv7_a
    52         asm volatile ( "wfe" :: );
    53 #endif
    5448}
    5549
Note: See TracChangeset for help on using the changeset viewer.