Changeset 371bd7d in mainline for kernel/arch/amd64/include/asm.h
- Timestamp:
- 2010-03-27T09:22:17Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36a75a2
- Parents:
- cd82bb1 (diff), eaf22d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/arch/amd64/include/asm.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/asm.h
rcd82bb1 r371bd7d 37 37 38 38 #include <config.h> 39 #include <arch/types.h>40 39 #include <typedefs.h> 41 40 … … 68 67 } 69 68 70 static inline void cpu_halt(void)71 { 72 asm volatile (73 "0:\n"74 "hlt\n"75 " jmp 0b\n"76 );69 static inline void __attribute__((noreturn)) cpu_halt(void) 70 { 71 while (true) { 72 asm volatile ( 73 "hlt\n" 74 ); 75 } 77 76 } 78 77
Note:
See TracChangeset
for help on using the changeset viewer.
