|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH 4/7 TAKE 2] xenoprof for xen/ia64: update consta
# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1161840445 -32400
# Node ID ef15db1dc0c4c0174f2d3679fa81463c1d4bea58
# Parent acacfc83fff962a48605cc88908c4d012563742d
increase xen side pmu constatns for motecito.
PATCHNAME: increase_pmu_constatns_for_motecito
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r acacfc83fff9 -r ef15db1dc0c4
xen/include/asm-ia64/linux-xen/asm/processor.h
--- a/xen/include/asm-ia64/linux-xen/asm/processor.h Fri Oct 20 21:21:34
2006 +0900
+++ b/xen/include/asm-ia64/linux-xen/asm/processor.h Thu Oct 26 14:27:25
2006 +0900
@@ -28,8 +28,16 @@
* Limits for PMC and PMD are set to less than maximum architected values
* but should be sufficient for a while
*/
+#ifdef XEN
+// Those are increased at linux-2.6.16. Montecito requires 35PMDs.
+// This ifdef will become unnecessary when this header file is
+// upgraded to more than 2.6.16.
+#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)
yamahata
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|