diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2009-07-08 14:27:37 +0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-12-03 22:14:48 +0300 |
commit | c6e1971139be1342902873181f3b80a979bfb33b (patch) | |
tree | b3e53ed67c4cdca56a42ffffd30abc6cfe6b25b5 /Documentation/cpuidle | |
parent | db05fed0ad72f264e39bcb366795f7367384ec92 (diff) | |
download | linux-c6e1971139be1342902873181f3b80a979bfb33b.tar.xz |
xen: fix is_disconnected_device/exists_disconnected_device
The logic of is_disconnected_device/exists_disconnected_device is wrong
in that they are used to test whether a device is trying to connect (i.e.
connecting). For this reason the patch fixes them to not consider a
Closing or Closed device to be connecting. At the same time the patch
also renames the functions according to what they really do; you could
say a closed device is "disconnected" (the old name), but not "connecting"
(the new name).
This patch is a backport of changeset 909 from the Xenbits tree.
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'Documentation/cpuidle')
0 files changed, 0 insertions, 0 deletions