Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i8k uses lahf to read the flag register in 64-bit code; early x86-64 CPUs, however, lack this instruction and we get an invalid opcode exception at runtime. Use pushf to load the flag register into the stack instead. Signed-off-by: Luca Tettamanti <[email protected]> Reported-by: Jeff Rickman <[email protected]> Tested-by: Jeff Rickman <[email protected]> Tested-by: Harry G McGavran Jr <[email protected]> Cc: [email protected] Cc: Massimo Dal Zotto <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
- Loading branch information