* [PATCH][2.6.11-mm3] perfctr API update 5/9: cpu_control_header, common
@ 2005-03-12 23:21 Mikael Pettersson
0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2005-03-12 23:21 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
- Move tsc_on/nractrs/nrictrs control fields to new struct cpu_control_header.
Signed-off-by: Mikael Pettersson <mikpe@csd.uu.se>
/Mikael
drivers/perfctr/virtual.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -rupN linux-2.6.11-mm3.perfctr-physical-indexing/drivers/perfctr/virtual.c linux-2.6.11-mm3.perfctr-cpu_control_header/drivers/perfctr/virtual.c
--- linux-2.6.11-mm3.perfctr-physical-indexing/drivers/perfctr/virtual.c 2005-03-12 19:26:25.000000000 +0100
+++ linux-2.6.11-mm3.perfctr-cpu_control_header/drivers/perfctr/virtual.c 2005-03-12 19:58:15.000000000 +0100
@@ -594,7 +594,8 @@ static int vperfctr_enable_control(struc
unsigned int next_cstatus;
unsigned int nrctrs, i;
- if (perfctr->cpu_state.control.nractrs || perfctr->cpu_state.control.nrictrs) {
+ if (perfctr->cpu_state.control.header.nractrs ||
+ perfctr->cpu_state.control.header.nrictrs) {
cpumask_t old_mask, new_mask;
old_mask = tsk->cpus_allowed;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-12 23:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-12 23:21 [PATCH][2.6.11-mm3] perfctr API update 5/9: cpu_control_header, common Mikael Pettersson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.