# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID d5a48cfc1db218642925d731719446f97dfb3dca
# Parent dc614bb5b0e886136340898d34bab1c2566e168d
[IA64] increase xen side pmu constatns for motecito.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
xen/include/asm-ia64/linux-xen/asm/processor.h | 10 ++++++++++
1 files changed, 10 insertions(+)
diff -r dc614bb5b0e8 -r d5a48cfc1db2
xen/include/asm-ia64/linux-xen/asm/processor.h
--- a/xen/include/asm-ia64/linux-xen/asm/processor.h Tue Nov 28 11:26:14
2006 -0700
+++ b/xen/include/asm-ia64/linux-xen/asm/processor.h Tue Nov 28 11:31:45
2006 -0700
@@ -28,8 +28,18 @@
* Limits for PMC and PMD are set to less than maximum architected values
* but should be sufficient for a while
*/
+#ifdef XEN
+/*
+ * These are increased in linux-2.6.16. Montecito requires 35PMDs.
+ * This ifdef will become unnecessary when this header file is
+ * upgraded to 2.6.16 or newer.
+ */
+#define IA64_NUM_PMC_REGS 64
+#define IA64_NUM_PMD_REGS 64
+#else
#define IA64_NUM_PMC_REGS 32
#define IA64_NUM_PMD_REGS 32
+#endif
#define DEFAULT_MAP_BASE __IA64_UL_CONST(0x2000000000000000)
#define DEFAULT_TASK_SIZE __IA64_UL_CONST(0xa000000000000000)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|