lkml.org 
[lkml]   [2005]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 14:11    [W:0.029 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site