]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix EEPROM read when driver is compiled with -Os
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 28 Sep 2006 16:00:19 +0000 (09:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 18:17:05 +0000 (11:17 -0700)
commit1a4e74a08788db913486cb9a3dc30984c55e9897
tree29a2ca27af6000366c9d9a751629c78632820d4c
parent89d1e09b6a6d844ef327937f41658a426be42501
IB/ipath: Fix EEPROM read when driver is compiled with -Os

The EEPROM is read via programmable I/O pins. When the driver
is compiled -Os, the CPU can speculatively read the I/O
value before it is valid.  This patch fixes the problem.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_eeprom.c