aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/perfc_defn.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-08-06 15:47:20 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-08-06 15:47:20 +0000
commitbb893a188a082f9ad28aedd48f748383da79c8ef (patch)
treed3901030168f9dc7fde210353770e077fdae4096 /xen/include/xen/perfc_defn.h
parent652bdea7c19568c2a9a8085ae854ade18f198698 (diff)
downloadxen-bb893a188a082f9ad28aedd48f748383da79c8ef.tar.gz
xen-bb893a188a082f9ad28aedd48f748383da79c8ef.tar.bz2
xen-bb893a188a082f9ad28aedd48f748383da79c8ef.zip
Fix perfc_defn.h to allow multiple inclusion.
Diffstat (limited to 'xen/include/xen/perfc_defn.h')
-rw-r--r--xen/include/xen/perfc_defn.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h
index abc17e0b68..5326f3bdbc 100644
--- a/xen/include/xen/perfc_defn.h
+++ b/xen/include/xen/perfc_defn.h
@@ -1,5 +1,6 @@
-#ifndef __XEN_PERFC_DEFN_H__
-#define __XEN_PERFC_DEFN_H__
+/* This file is legitimately included multiple times. */
+/*#ifndef __XEN_PERFC_DEFN_H__*/
+/*#define __XEN_PERFC_DEFN_H__*/
#define PERFC_MAX_PT_UPDATES 64
#define PERFC_PT_UPDATES_BUCKET_SIZE 3
@@ -124,4 +125,4 @@ PERFCOUNTER_CPU(remove_write_predicted, "remove_write predict hit&exit")
PERFCOUNTER_CPU(remove_write_bad_prediction, "remove_write bad prediction")
PERFCOUNTER_CPU(update_hl2e_invlpg, "update_hl2e calls invlpg")
-#endif /* __XEN_PERFC_DEFN_H__ */
+/*#endif*/ /* __XEN_PERFC_DEFN_H__ */