xen: pvhvm: make it clearer that XEN_UNPLUG_* define bits in a bitfield
commit9c35e90c6fcf7f5baf27a63d9565e9f47633f299
authorIan Campbell <ian.campbell@citrix.com>
Mon, 23 Aug 2010 11:01:35 +0000 (23 12:01 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 23 Aug 2010 11:01:35 +0000 (23 12:01 +0100)
treec3e311c13f4c1815c729c70f6c20b79175673236
parent1dc7ce99b091a11cce0f34456c1ffcb928f17edd
xen: pvhvm: make it clearer that XEN_UNPLUG_* define bits in a bitfield

by defining in terms of (1<<N).

XEN_UNPLUG_UNNECESSARY and XEN_UNPLUG_NEVER are only used within the
kernel and are not defined as a bit on the unplug IO port. Therefore
use a bit which is outside the potentially valid range of the 16 bit
IO port.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
include/xen/platform_pci.h