Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362784
b: refs/heads/master
c: f10ccca
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Apr 17, 2013
1 parent 55514e9 commit 953dc51
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 188561a462d3b82451d6ba09e2e32c9ba2c9938c
refs/heads/master: f10ccca7a555f5e80ed7ecff58e7dfdab03860da
2 changes: 1 addition & 1 deletion trunk/arch/s390/include/asm/ccwdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);

extern struct ccw_device *ccw_device_probe_console(void);
extern void ccw_device_wait_idle(struct ccw_device *);
extern int ccw_device_force_console(void);
extern int ccw_device_force_console(struct ccw_device *);

int ccw_device_siosl(struct ccw_device *);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/char/con3215.c
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ static void con3215_flush(void)
raw = raw3215[0]; /* console 3215 is the first one */
if (raw->port.flags & ASYNC_SUSPENDED)
/* The console is still frozen for suspend. */
if (ccw_device_force_console())
if (ccw_device_force_console(raw->cdev))
/* Forcing didn't work, no panic message .. */
return;
spin_lock_irqsave(get_ccwdev_lock(raw->cdev), flags);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/char/raw3270.c
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ void raw3270_pm_unfreeze(struct raw3270_view *view)

rp = view->dev;
if (rp && test_bit(RAW3270_FLAGS_FROZEN, &rp->flags))
ccw_device_force_console();
ccw_device_force_console(rp->cdev);
#endif
}

Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1680,11 +1680,9 @@ void ccw_device_wait_idle(struct ccw_device *cdev)

static int ccw_device_pm_restore(struct device *dev);

int ccw_device_force_console(void)
int ccw_device_force_console(struct ccw_device *cdev)
{
if (!console_cdev_in_use)
return -ENODEV;
return ccw_device_pm_restore(&console_cdev.dev);
return ccw_device_pm_restore(&cdev->dev);
}
EXPORT_SYMBOL_GPL(ccw_device_force_console);
#endif
Expand Down

0 comments on commit 953dc51

Please sign in to comment.