Changes in kernel/arch/arm32/include/asm.h [3896974:5d9e36b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/asm.h
r3896974 r5d9e36b 48 48 * ARM920T has custom coprocessor action to do the same. See ARM920T Technical 49 49 * Reference Manual ch 4.9 p. 4-23 (103 in the PDF) 50 * ARM926EJ-S uses the same coprocessor instruction as ARM920T. See ARM926EJ-S 51 * chapter 2.3.8 p.2-22 (52 in the PDF) 50 52 */ 51 53 NO_TRACE static inline void cpu_sleep(void) 52 54 { 53 #ifdef PROCESSOR_ armv7_a55 #ifdef PROCESSOR_ARCH_armv7_a 54 56 asm volatile ( "wfe" :: ); 55 #elif defined(MACHINE_gta02) 57 #elif defined(MACHINE_gta02) | defined(MACHINE_integratorcp) 56 58 asm volatile ( "mcr p15,0,R0,c7,c0,4" :: ); 57 59 #endif
Note:
See TracChangeset
for help on using the changeset viewer.