Changeset 3a1c048 in mainline for kernel/arch/amd64/include/asm.h


Ignore:
Timestamp:
2009-03-12T17:55:26Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4a26e39
Parents:
3c79afe
Message:

make cpu_halt() really halt the execution

File:
1 edited

Legend:

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

    r3c79afe r3a1c048  
    7070static inline void cpu_halt(void)
    7171{
    72         asm volatile ("hlt\n");
     72        asm volatile (
     73                "0:\n"
     74                "       hlt\n"
     75                "       jmp 0b\n"
     76        );
    7377}
    7478
Note: See TracChangeset for help on using the changeset viewer.