Messages in this thread Patch in this message | | | Date | Sun, 13 Mar 2005 00:21:20 +0100 (MET) | From | Mikael Pettersson <> | Subject | [PATCH][2.6.11-mm3] perfctr API update 5/9: cpu_control_header, common |
| |
- 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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |