On 10/29/11 08:54, Alexandr Shadchin wrote:
PCI_DOM_MASK is already defined (see above).

Signed-off-by: Alexandr Shadchin<alexandr.shadc...@gmail.com>
---
  hw/xfree86/os-support/bus/Pci.h |    3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/hw/xfree86/os-support/bus/Pci.h b/hw/xfree86/os-support/bus/Pci.h
index 90713bc..ff057e7 100644
--- a/hw/xfree86/os-support/bus/Pci.h
+++ b/hw/xfree86/os-support/bus/Pci.h
@@ -119,9 +119,6 @@
  #define PCI_DOM_MASK 0x0ffu
  #endif

-#ifndef PCI_DOM_MASK
-# define PCI_DOM_MASK 0x0ffu
-#endif
  #define PCI_DOMBUS_MASK (((PCI_DOM_MASK)<<  8) | 0x0ffu)

  #define PCI_MAKE_BUS(d,b)    ((((d)&  (PCI_DOM_MASK))<<  8) | ((b)&  0xffu))

Looks like it was left by accident when commit e3e47b35e369bf4
moved the fallback definition up to the prior #if/#else pair.

Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com>

--
        -Alan Coopersmith-        alan.coopersm...@oracle.com
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to