diff options
author | Luca Tettamanti <kronos.it@gmail.com> | 2011-05-25 20:43:31 +0200 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2012-02-11 15:40:53 +0100 |
commit | d172827c67001f409b59264cf2dd87e090681d7d (patch) | |
tree | 912535b3a78eae37096c0accb914c3ecf0d780da /include/linux/async_tx.h | |
parent | 1e1df1cdad42883dc7877b9524367531400ce0cb (diff) | |
download | lwn-d172827c67001f409b59264cf2dd87e090681d7d.tar.gz lwn-d172827c67001f409b59264cf2dd87e090681d7d.zip |
i8k: Avoid lahf in 64-bit code
commit bc1f419c76a2d6450413ce4349f4e4a07be011d5 upstream.
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 <kronos.it@gmail.com>
Reported-by: Jeff Rickman <jrickman@myamigos.us>
Tested-by: Jeff Rickman <jrickman@myamigos.us>
Tested-by: Harry G McGavran Jr <w5pny@arrl.net>
Cc: Massimo Dal Zotto <dz@debian.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/async_tx.h')
0 files changed, 0 insertions, 0 deletions