diff options
author | Michael Chan <mchan@broadcom.com> | 2005-05-29 21:59:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-05-29 21:59:49 (GMT) |
commit | 1b62815193f6c20c60958e5347751155833e3d35 (patch) | |
tree | c775c46e63084d6a63e515a303cebf701a673848 /fs/udf/osta_udf.h | |
parent | d4bc3927d284784b3f0bff05b4eed2242cc3e226 (diff) | |
download | linux-fsl-qoriq-1b62815193f6c20c60958e5347751155833e3d35.tar.xz |
[TG3]: Fix bug in tg3_load_firmware_cpu
Add tg3_nvram_lock() and tg3_nvram_unlock() calls around tg3_halt_cpu().
It is possible that the bootcode may be loading code from nvram during
this call and stopping the cpu without getting the lock may cause
uncompleted nvram data to be left in the nvram data register. Subsequent
calls to read/write nvram data will fail.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/udf/osta_udf.h')
0 files changed, 0 insertions, 0 deletions