xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL for pciback compile fixes]
@ 2010-01-25 15:33 Konrad Rzeszutek Wilk
  2010-01-25 15:33 ` [PATCH] [xen/pci] Undefined reference to domid_t type Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 2+ messages in thread
From: Konrad Rzeszutek Wilk @ 2010-01-25 15:33 UTC (permalink / raw)
  To: xen-devel, jeremy

Hey Jeremy,

Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git pciback/fixes-compile-3

There is one patch that fixes compilation issue when Xen is not selected
in the build options.

 arch/x86/include/asm/xen/pci.h |    4 ++--
 arch/x86/xen/pci.c             |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] [xen/pci] Undefined reference to domid_t type.
  2010-01-25 15:33 [GIT PULL for pciback compile fixes] Konrad Rzeszutek Wilk
@ 2010-01-25 15:33 ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Rzeszutek Wilk @ 2010-01-25 15:33 UTC (permalink / raw)
  To: xen-devel, jeremy; +Cc: Konrad Rzeszutek Wilk

The domid_t type is defined as uint16_t.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
 arch/x86/include/asm/xen/pci.h |    4 ++--
 arch/x86/xen/pci.c             |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/include/asm/xen/pci.h b/arch/x86/include/asm/xen/pci.h
index d335c90..f5860c2 100644
--- a/arch/x86/include/asm/xen/pci.h
+++ b/arch/x86/include/asm/xen/pci.h
@@ -9,7 +9,7 @@ int xen_create_msi_irq(struct pci_dev *dev,
 int xen_destroy_irq(int irq);
 
 int xen_find_device_domain_owner(struct pci_dev *dev);
-int xen_register_device_domain_owner(struct pci_dev *dev, domid_t domain);
+int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain);
 int xen_unregister_device_domain_owner(struct pci_dev *dev);
 
 #else
@@ -33,7 +33,7 @@ static inline int xen_find_device_domain_owner(struct pci_dev *dev)
 	return -1;
 }
 static inline int xen_register_device_domain_owner(struct pci_dev *dev,
-						   domid_t domain)
+						   uint16_t domain)
 {
  	return -1;
 }
diff --git a/arch/x86/xen/pci.c b/arch/x86/xen/pci.c
index 1758c26..6b43dec 100644
--- a/arch/x86/xen/pci.c
+++ b/arch/x86/xen/pci.c
@@ -145,7 +145,7 @@ int xen_find_device_domain_owner(struct pci_dev *dev)
 }
 EXPORT_SYMBOL(xen_find_device_domain_owner);
 
-int xen_register_device_domain_owner(struct pci_dev *dev, domid_t domain)
+int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain)
 {
 	struct xen_device_domain_owner *owner;
 
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-25 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-25 15:33 [GIT PULL for pciback compile fixes] Konrad Rzeszutek Wilk
2010-01-25 15:33 ` [PATCH] [xen/pci] Undefined reference to domid_t type Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).