linux-stable/drivers
Luca Tettamanti d172827c67 i8k: Avoid lahf in 64-bit code
commit bc1f419c76 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>
2012-02-11 15:40:53 +01:00
..
accessibility braille_console: only register notifiers when the braille console is used 2008-10-02 15:53:13 -07:00
acpi platform: x86: asus_acpi: world-writable procfs files 2011-04-30 16:53:07 +02:00
amba
ata libata: set queue DMA alignment to sector size for ATAPI too 2012-02-11 15:37:24 +01:00
atm fore200: fix oops on failed firmware load 2009-03-16 17:52:52 -07:00
auxdisplay auxdisplay: small cleanups 2008-07-24 10:47:41 -07:00
base Driver core: fix driver_register() return value 2009-11-09 16:51:59 -08:00
block cciss: fix lost command issue 2011-04-30 16:53:24 +02:00
bluetooth Bluetooth: add support for Apple MacBook Pro 8,2 2011-04-30 16:53:29 +02:00
cdrom cdrom: handle TOC 2008-08-18 21:40:04 +02:00
char i8k: Avoid lahf in 64-bit code 2012-02-11 15:40:53 +01:00
clocksource clocksource, acpi_pm.c: fix check for monotonicity 2008-09-11 11:14:29 +02:00
connector
cpufreq [CPUFREQ] Fix -Wshadow warning in conservative governor. 2008-08-08 16:00:48 -04:00
cpuidle cpuidle: Add decaying history logic to menu idle predictor 2009-02-06 14:00:40 -08:00
crypto crypto: ixp4xx - Fix handling of chained sg buffers 2009-05-02 10:24:54 -07:00
dca dca: redesign locks to fix deadlocks 2009-12-08 11:17:31 -08:00
dio
dma mv_xor: fix race in tasklet function 2011-02-09 22:15:36 +01:00
edac edac: i5000_edac critical fix panic out of bounds 2010-01-28 15:20:01 -08:00
eisa
firewire firewire: ohci: handle receive packets with a data length of zero 2009-12-18 13:30:43 -08:00
firmware dcdbas: force SMI to happen when expected 2011-04-30 16:53:23 +02:00
gpio gpiolib: extend gpio label column width in debugfs file 2008-12-05 10:55:11 -08:00
gpu drm: stop information leak of old kernel stack. 2010-08-26 16:40:13 -07:00
hid HID: hidraw: fix window in hidraw_release 2011-02-09 22:15:35 +01:00
hwmon hwmon/f71882fg: Set platform drvdata to NULL later 2011-04-30 16:53:14 +02:00
i2c i2c-tiny-usb: Fix on big-endian systems 2010-05-26 14:27:09 -07:00
ide hpt366: fix HPT370 DMA timeouts 2009-05-02 10:24:24 -07:00
ieee1394 ieee1394: sbp2: add support for disks >2 TB (and 16 bytes long CDBs) 2009-08-16 14:26:57 -07:00
infiniband IB/cm: Bump reference count on cm_id before invoking callback 2011-04-30 16:53:17 +02:00
input Input: xen-kbdfront - advertise either absolute or relative coordinates 2011-04-30 16:53:23 +02:00
isdn isdn: avoid calling tty_ldisc_flush() in atomic context 2011-04-30 16:53:19 +02:00
leds leds-pca955x: add proper error handling and fix bogus memory handling 2008-10-03 18:22:18 -07:00
lguest lguest: update commentry 2008-08-26 00:19:28 +10:00
macintosh remove unnecessary <linux/hdreg.h> includes 2008-08-05 18:16:58 +02:00
mca
md md: check ->hot_remove_disk when removing disk 2012-02-11 15:37:30 +01:00
media uvcvideo: Remove buffers from the queues when freeing 2012-02-11 15:37:31 +01:00
memstick memstick: fix MSProHG 8-bit interface mode support 2008-09-13 14:41:52 -07:00
message mptsas: fix hangs caused by ATA pass-through 2011-04-30 16:53:40 +02:00
mfd mfd: Fix NULL pointer due to non-initialized ucb1x00-ts absinfo 2011-04-30 16:53:09 +02:00
misc platform: x86: tc1100-wmi: world-writable sysfs wireless and jogdial files 2011-04-30 16:53:08 +02:00
mmc mmc: sdhci: Check mrq != NULL in sdhci_tasklet_finish 2012-02-11 15:37:15 +01:00
mtd UBI: fix nameless volumes handling 2012-02-11 15:38:27 +01:00
net bonding: Ensure that we unshare skbs prior to calling pskb_may_pull 2012-02-11 15:38:36 +01:00
nubus
of powerpc/ibmebus: Restore "name" sysfs attribute on ibmebus devices 2008-08-20 09:50:21 +10:00
oprofile powerpc/cell/oprofile: Avoid double vfree of profile buffer 2008-08-26 10:24:46 +10:00
parisc PARISC: led.c - fix potential stack overflow in led_proc_write() 2010-08-10 09:52:55 -07:00
parport parport: quickfix the proc registration bug 2009-09-08 20:17:46 -07:00
pci PCI: do not create quirk I/O regions below PCIBIOS_MIN_IO for ICH 2011-04-30 16:53:18 +02:00
pcmcia pcmcia: Fix broken abuse of dev->driver_data 2008-09-22 08:42:50 -07:00
pnp ACPI: suspend: don't let device _PS3 failure prevent suspend 2009-07-30 16:06:11 -07:00
power apm_power: Add missing break statement 2010-09-20 13:03:22 -07:00
ps3 powerpc/ps3: Workaround for flash memory I/O error 2009-09-24 08:47:27 -07:00
rapidio
regulator regulator: TI bq24022 Li-Ion Charger driver 2008-07-30 10:10:23 +01:00
rtc drivers/rtc/rtc-ds1511.c: world-writable sysfs nvram file 2011-04-30 16:53:31 +02:00
s390 keyboard: integer underflow bug 2011-04-30 16:53:12 +02:00
sbus sparc/drivers: use linux/of_device.h instead of asm/of_device.h 2008-08-11 14:30:53 -07:00
scsi SCSI: scsi_lib: fix potential NULL dereference 2012-02-11 15:40:46 +01:00
serial serial: unbreak billionton CF card 2011-04-30 16:52:59 +02:00
sh sh: Fix up broken kerneldoc comments. 2008-08-04 12:51:06 +09:00
sn
spi spi: avoid spidev crash when device is removed 2008-12-13 15:29:16 -08:00
ssb ssb: Fix range check in sprom write 2009-12-18 13:30:47 -08:00
tc
telephony ixj: push BKL into driver and wrap ioctls 2008-07-25 10:53:43 -07:00
thermal
uio UIO: generic irq handling for some uio platform devices 2008-08-21 10:15:39 -07:00
usb usb: usb-storage doesn't support dynamic id currently, the patch disables the feature to fix an oops 2012-02-11 15:38:21 +01:00
video offb: Fix bug in calculating requested vram size 2012-02-11 15:38:18 +01:00
virtio virtio: set pci bus master enable bit 2011-04-30 16:53:11 +02:00
w1 w1: w1 temp calculation overflow fix 2009-02-17 09:46:17 -08:00
watchdog hpwdt.c: Add new HP BMC controller. 2009-10-12 11:33:22 -07:00
xen xen: fix 2.6.27-rc5 xen balloon driver warnings 2008-09-08 20:21:15 +02:00
zorro
Kconfig
Makefile USB: Add MUSB and TUSB support 2008-08-13 17:33:00 -07:00