@@ -61,8 +61,10 @@ struct cpu_spec cpu_specs[] = {
61
61
.dcache_bsize = 128 ,
62
62
.num_pmcs = 8 ,
63
63
.cpu_setup = __setup_cpu_power3 ,
64
+ #ifdef CONFIG_OPROFILE
64
65
.oprofile_cpu_type = "ppc64/power3" ,
65
66
.oprofile_model = & op_model_rs64 ,
67
+ #endif
66
68
},
67
69
{ /* Power3+ */
68
70
.pvr_mask = 0xffff0000 ,
@@ -75,8 +77,10 @@ struct cpu_spec cpu_specs[] = {
75
77
.dcache_bsize = 128 ,
76
78
.num_pmcs = 8 ,
77
79
.cpu_setup = __setup_cpu_power3 ,
80
+ #ifdef CONFIG_OPROFILE
78
81
.oprofile_cpu_type = "ppc64/power3" ,
79
82
.oprofile_model = & op_model_rs64 ,
83
+ #endif
80
84
},
81
85
{ /* Northstar */
82
86
.pvr_mask = 0xffff0000 ,
@@ -90,8 +94,10 @@ struct cpu_spec cpu_specs[] = {
90
94
.dcache_bsize = 128 ,
91
95
.num_pmcs = 8 ,
92
96
.cpu_setup = __setup_cpu_power3 ,
97
+ #ifdef CONFIG_OPROFILE
93
98
.oprofile_cpu_type = "ppc64/rs64" ,
94
99
.oprofile_model = & op_model_rs64 ,
100
+ #endif
95
101
},
96
102
{ /* Pulsar */
97
103
.pvr_mask = 0xffff0000 ,
@@ -105,8 +111,10 @@ struct cpu_spec cpu_specs[] = {
105
111
.dcache_bsize = 128 ,
106
112
.num_pmcs = 8 ,
107
113
.cpu_setup = __setup_cpu_power3 ,
114
+ #ifdef CONFIG_OPROFILE
108
115
.oprofile_cpu_type = "ppc64/rs64" ,
109
116
.oprofile_model = & op_model_rs64 ,
117
+ #endif
110
118
},
111
119
{ /* I-star */
112
120
.pvr_mask = 0xffff0000 ,
@@ -120,8 +128,10 @@ struct cpu_spec cpu_specs[] = {
120
128
.dcache_bsize = 128 ,
121
129
.num_pmcs = 8 ,
122
130
.cpu_setup = __setup_cpu_power3 ,
131
+ #ifdef CONFIG_OPROFILE
123
132
.oprofile_cpu_type = "ppc64/rs64" ,
124
133
.oprofile_model = & op_model_rs64 ,
134
+ #endif
125
135
},
126
136
{ /* S-star */
127
137
.pvr_mask = 0xffff0000 ,
@@ -135,8 +145,10 @@ struct cpu_spec cpu_specs[] = {
135
145
.dcache_bsize = 128 ,
136
146
.num_pmcs = 8 ,
137
147
.cpu_setup = __setup_cpu_power3 ,
148
+ #ifdef CONFIG_OPROFILE
138
149
.oprofile_cpu_type = "ppc64/rs64" ,
139
150
.oprofile_model = & op_model_rs64 ,
151
+ #endif
140
152
},
141
153
{ /* Power4 */
142
154
.pvr_mask = 0xffff0000 ,
@@ -150,8 +162,10 @@ struct cpu_spec cpu_specs[] = {
150
162
.dcache_bsize = 128 ,
151
163
.num_pmcs = 8 ,
152
164
.cpu_setup = __setup_cpu_power4 ,
165
+ #ifdef CONFIG_OPROFILE
153
166
.oprofile_cpu_type = "ppc64/power4" ,
154
167
.oprofile_model = & op_model_rs64 ,
168
+ #endif
155
169
},
156
170
{ /* Power4+ */
157
171
.pvr_mask = 0xffff0000 ,
@@ -165,8 +179,10 @@ struct cpu_spec cpu_specs[] = {
165
179
.dcache_bsize = 128 ,
166
180
.num_pmcs = 8 ,
167
181
.cpu_setup = __setup_cpu_power4 ,
182
+ #ifdef CONFIG_OPROFILE
168
183
.oprofile_cpu_type = "ppc64/power4" ,
169
184
.oprofile_model = & op_model_power4 ,
185
+ #endif
170
186
},
171
187
{ /* PPC970 */
172
188
.pvr_mask = 0xffff0000 ,
@@ -182,8 +198,10 @@ struct cpu_spec cpu_specs[] = {
182
198
.dcache_bsize = 128 ,
183
199
.num_pmcs = 8 ,
184
200
.cpu_setup = __setup_cpu_ppc970 ,
201
+ #ifdef CONFIG_OPROFILE
185
202
.oprofile_cpu_type = "ppc64/970" ,
186
203
.oprofile_model = & op_model_power4 ,
204
+ #endif
187
205
},
188
206
{ /* PPC970FX */
189
207
.pvr_mask = 0xffff0000 ,
@@ -199,8 +217,10 @@ struct cpu_spec cpu_specs[] = {
199
217
.dcache_bsize = 128 ,
200
218
.num_pmcs = 8 ,
201
219
.cpu_setup = __setup_cpu_ppc970 ,
220
+ #ifdef CONFIG_OPROFILE
202
221
.oprofile_cpu_type = "ppc64/970" ,
203
222
.oprofile_model = & op_model_power4 ,
223
+ #endif
204
224
},
205
225
{ /* PPC970MP */
206
226
.pvr_mask = 0xffff0000 ,
@@ -215,8 +235,10 @@ struct cpu_spec cpu_specs[] = {
215
235
.icache_bsize = 128 ,
216
236
.dcache_bsize = 128 ,
217
237
.cpu_setup = __setup_cpu_ppc970 ,
238
+ #ifdef CONFIG_OPROFILE
218
239
.oprofile_cpu_type = "ppc64/970" ,
219
240
.oprofile_model = & op_model_power4 ,
241
+ #endif
220
242
},
221
243
{ /* Power5 */
222
244
.pvr_mask = 0xffff0000 ,
@@ -232,8 +254,10 @@ struct cpu_spec cpu_specs[] = {
232
254
.dcache_bsize = 128 ,
233
255
.num_pmcs = 6 ,
234
256
.cpu_setup = __setup_cpu_power4 ,
257
+ #ifdef CONFIG_OPROFILE
235
258
.oprofile_cpu_type = "ppc64/power5" ,
236
259
.oprofile_model = & op_model_power4 ,
260
+ #endif
237
261
},
238
262
{ /* Power5 */
239
263
.pvr_mask = 0xffff0000 ,
@@ -249,8 +273,10 @@ struct cpu_spec cpu_specs[] = {
249
273
.dcache_bsize = 128 ,
250
274
.num_pmcs = 6 ,
251
275
.cpu_setup = __setup_cpu_power4 ,
276
+ #ifdef CONFIG_OPROFILE
252
277
.oprofile_cpu_type = "ppc64/power5" ,
253
278
.oprofile_model = & op_model_power4 ,
279
+ #endif
254
280
},
255
281
{ /* BE DD1.x */
256
282
.pvr_mask = 0xffff0000 ,
0 commit comments