Changeset bea6233 in mainline for kernel/arch/ppc32/include/arch/asm.h
- Timestamp:
- 2023-02-26T15:27:13Z (14 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7cf5ddb
- Parents:
- deed510
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-26 15:18:02)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-26 15:27:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/arch/asm.h
rdeed510 rbea6233 167 167 } 168 168 169 _NO_TRACE static inline void cpu_sleep(void) 170 { 169 /** Enables interrupts and blocks until an interrupt arrives, 170 * atomically if possible on target architecture. 171 * Disables interrupts again before returning to caller. 172 */ 173 _NO_TRACE static inline void cpu_interruptible_sleep(void) 174 { 175 // FIXME: do this properly 176 interrupts_enable(); 177 interrupts_disable(); 171 178 } 172 179
Note:
See TracChangeset
for help on using the changeset viewer.