Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ea106a6 in mainline


Ignore:
Timestamp:
2012-04-08T18:53:46Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
3a01483
Parents:
87739fb
Message:

codestyle and comment

File:
1 edited

Legend:

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

    r87739fb rea106a6  
    4343#include <trace.h>
    4444
    45 /** No such instruction on ARM to sleep CPU.
     45/** No such instruction on old ARM to sleep CPU.
    4646 *
    47  * ARMv7 introduced wait for event and wait for interrupt.
     47 * ARMv7 introduced wait for event and wait for interrupt (wfe/wfi).
    4848 */
    4949NO_TRACE static inline void cpu_sleep(void)
    5050{
    5151#ifdef PROCESSOR_armv7
    52         asm volatile (
    53                 "wfe"::
    54         );
     52        asm volatile ( "wfe" :: );
    5553#endif
    5654}
Note: See TracChangeset for help on using the changeset viewer.