diff options
| author | Geert Uytterhoeven <[email protected]> | 2008-01-19 07:30:40 +1100 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2008-01-25 22:52:51 +1100 |
| commit | b4cb2941f855993410ca456ef998888434e86098 (patch) | |
| tree | 297e8856810ad6d647d15d3e0c6a81285d0e95d7 /include/linux/timerqueue.h | |
| parent | e06bcf3cc3a6c45a16e9ffeb0401380aebfdea02 (diff) | |
[POWERPC] PS3: Use the HVs storage device notification mechanism properly
The PS3 hypervisor has a storage device notification mechanism to wait
until a storage device is ready. Unfortunately the storage device
probing code used this mechanism in an incorrect way, needing a
polling loop and handling of devices that are not yet ready.
This change corrects this by:
- First waiting for the reception of an asynchronous notification
that a new storage device became ready,
- Then looking up the storage device in the device repository.
On shutdown, the storage probe thread is stopped and the storage
notification device is closed using a reboot notifier.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Geoff Levand <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions