summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch')
-rw-r--r--meta-extras/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-extras/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch b/meta-extras/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch
new file mode 100644
index 0000000000..c5849998d5
--- /dev/null
+++ b/meta-extras/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch
@@ -0,0 +1,30 @@
1---
2 arch/arm/oprofile/op_model_v6.c | 8 +-------
3 1 file changed, 1 insertion(+), 7 deletions(-)
4
5Index: linux-g/arch/arm/oprofile/op_model_v6.c
6===================================================================
7--- linux-g.orig/arch/arm/oprofile/op_model_v6.c 2006-11-08 12:18:41.000000000 +0000
8+++ linux-g/arch/arm/oprofile/op_model_v6.c 2007-05-23 14:11:19.000000000 +0100
9@@ -54,12 +54,6 @@
10 #define EVT_DCACHE_MISS 0x0B
11 #define EVT_DCACE_WRITE_BACK 0x0C
12 #define EVT_PC_CHANGED 0x0D
13-#define EVT_BCU_REQUEST 0x10
14-#define EVT_BCU_FULL 0x11
15-#define EVT_BCU_DRAIN 0x12
16-#define EVT_BCU_ECC_NO_ELOG 0x14
17-#define EVT_BCU_1_BIT_ERR 0x15
18-#define EVT_RMW 0x16
19 /* EVT_CCNT is not hardware defined */
20 #define EVT_CCNT 0xFE
21 #define EVT_UNUSED 0xFF
22@@ -88,7 +82,7 @@ struct pmu_type {
23 static struct pmu_type pmu_parms[] = {
24 {
25 .id = PMU_ARM11,
26- .name = "arm/arm11",
27+ .name = "arm/armv6",
28 .num_counters = 3,
29 #ifdef CONFIG_ARCH_OMAP2
30 .interrupt = 3,