aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/pci.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-01-09 15:55:00 +0100
committerJan Beulich <jbeulich@suse.com>2012-01-09 15:55:00 +0100
commit51bfd20efaf85ec408998ba06b17d5e73d12537e (patch)
tree8cb66de06821bab81d292b4c3ee221de74413697 /xen/include/xen/pci.h
parentffd191dce075e0e5a773a2e81985778c5fcd061f (diff)
downloadxen-51bfd20efaf85ec408998ba06b17d5e73d12537e.tar.gz
xen-51bfd20efaf85ec408998ba06b17d5e73d12537e.tar.bz2
xen-51bfd20efaf85ec408998ba06b17d5e73d12537e.zip
PCI: shrink pci_dev_info's is_extfn/is_virtfn members
They are used as boolean flags only, so convert them accordingly (shrinking the structure size by 8 bytes). Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen/pci.h')
-rw-r--r--xen/include/xen/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h
index 8066cafbc4..b57bb90f96 100644
--- a/xen/include/xen/pci.h
+++ b/xen/include/xen/pci.h
@@ -33,8 +33,8 @@
#define MAX_MSIX_TABLE_ENTRIES 2048
#define MAX_MSIX_TABLE_PAGES 8
struct pci_dev_info {
- unsigned is_extfn;
- unsigned is_virtfn;
+ bool_t is_extfn;
+ bool_t is_virtfn;
struct {
u8 bus;
u8 devfn;