aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/perfc.c
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2003-03-11 12:11:03 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2003-03-11 12:11:03 +0000
commit2700fa96e938e3c10d23380c5ab6176471a98872 (patch)
treef8d009c6582c7fb95142bc8359d97e5b01980530 /xen/common/perfc.c
parent1f41c8f857594c33942f4bd2b72ec417f77e7ed9 (diff)
downloadxen-2700fa96e938e3c10d23380c5ab6176471a98872.tar.gz
xen-2700fa96e938e3c10d23380c5ab6176471a98872.tar.bz2
xen-2700fa96e938e3c10d23380c5ab6176471a98872.zip
bitkeeper revision 1.122.1.1 (3e6dd2571tuS-UOLoEX2Z4iIxMPlxA)
pci.h, perfc.c: Fixed PCI DMA code -- a fake virtual address of NULL is actually valid.
Diffstat (limited to 'xen/common/perfc.c')
-rw-r--r--xen/common/perfc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/common/perfc.c b/xen/common/perfc.c
index 55554eba70..6b7e9f2af3 100644
--- a/xen/common/perfc.c
+++ b/xen/common/perfc.c
@@ -5,6 +5,8 @@
#include <xeno/perfc.h>
#include <xeno/keyhandler.h>
+#undef PERFCOUNTER
+#undef PERFCOUNTER_ARRAY
#define PERFCOUNTER( var, name ) "[0]"name"\0",
#define PERFCOUNTER_ARRAY( var, name, size ) "["#size"]"name"\0",