projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[S390] cio: introduce parent-initiated device move
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
s390
/
cio
/
device_fsm.c
diff --git
a/drivers/s390/cio/device_fsm.c
b/drivers/s390/cio/device_fsm.c
index b9613d7df9ef85531656a8a8cc2af0f12d0cf84e..d1e05f44fb6f2b014f9cf4eef4294acd74a2fe3d 100644
(file)
--- a/
drivers/s390/cio/device_fsm.c
+++ b/
drivers/s390/cio/device_fsm.c
@@
-1072,11
+1072,9
@@
void ccw_device_trigger_reprobe(struct ccw_device *cdev)
/* We should also udate ssd info, but this has to wait. */
/* Check if this is another device which appeared on the same sch. */
/* We should also udate ssd info, but this has to wait. */
/* Check if this is another device which appeared on the same sch. */
- if (sch->schib.pmcw.dev != cdev->private->dev_id.devno) {
- PREPARE_WORK(&cdev->private->kick_work,
- ccw_device_move_to_orphanage);
- queue_work(slow_path_wq, &cdev->private->kick_work);
- } else
+ if (sch->schib.pmcw.dev != cdev->private->dev_id.devno)
+ css_schedule_eval(sch->schid);
+ else
ccw_device_start_id(cdev, 0);
}
ccw_device_start_id(cdev, 0);
}