diff options
author | Luca Tettamanti <[email protected]> | 2011-05-25 20:43:31 +0200 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2011-05-25 20:43:31 +0200 |
commit | bc1f419c76a2d6450413ce4349f4e4a07be011d5 (patch) | |
tree | b89b92a6eca16ddd70336da9e26659b6b2414a90 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 4a7df24ddc7097cd789a7527187826552ea0765e (diff) |
i8k: Avoid lahf in 64-bit code
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]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions