Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 095f5cfa authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull power management fix from Rafael Wysocki:
 "More annotations of tracepoints in the runtime PM framework to prevent
  RCU from complaining when that code is invoked from the idle path
  (Paul McKenney)"

* tag 'pm-4.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  PM / runtime: Use _rcuidle for runtime suspend tracepoints
parents dd5a477c 77893577
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -419,7 +419,7 @@ static int rpm_suspend(struct device *dev, int rpmflags)
	struct device *parent = NULL;
	int retval;

	trace_rpm_suspend(dev, rpmflags);
	trace_rpm_suspend_rcuidle(dev, rpmflags);

 repeat:
	retval = rpm_check_suspend_allowed(dev);
@@ -549,7 +549,7 @@ static int rpm_suspend(struct device *dev, int rpmflags)
	}

 out:
	trace_rpm_return_int(dev, _THIS_IP_, retval);
	trace_rpm_return_int_rcuidle(dev, _THIS_IP_, retval);

	return retval;