Changeset 8965838e in mainline for arch/ppc32/include/asm.h
- Timestamp:
- 2006-03-15T12:21:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 97b64c9
- Parents:
- 286e03d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/include/asm.h
r286e03d r8965838e 121 121 __address v; 122 122 123 __asm__ volatile ("and %0, %% r1, %1\n" : "=r" (v) : "r" (~(STACK_SIZE-1)));123 __asm__ volatile ("and %0, %%sp, %1\n" : "=r" (v) : "r" (~(STACK_SIZE-1))); 124 124 125 125 return v; 126 126 } 127 127 128 static inline void cpu_sleep(void) 129 { 130 } 131 128 132 void cpu_halt(void); 129 void cpu_sleep(void);130 133 void asm_delay_loop(__u32 t); 131 134
Note:
See TracChangeset
for help on using the changeset viewer.