Skip to contentSkip to conversation

documentation: local_ops fix on_each_cpu

PATCH Applied Mathieu Desnoyers 2 participants 2 messages Dec 1, 2008 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 documentation: local_ops fix on_each_cpu

* Dr. David Alan Gilbert ([email protected]) wrote:
[...]

Quoted 4 lines

I noticed while looking at something else that the example in local_ops.txt still has the 4 operand on_each_cpu in the latest git; I don't know the rest of the code around there very well so I thought it best to mention it rather than post a patch.

---
 Documentation/local_ops.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/local_ops.txt +1 -1
Index: linux-2.6-lttng/Documentation/local_ops.txt
===================================================================
@@ -149,7 +149,7 @@ static void do_test_timer(unsigned long 
 	int cpu;
 
 	/* Increment the counters */
-	on_each_cpu(test_each, NULL, 0, 1);
+	on_each_cpu(test_each, NULL, 1);
 	/* Read all the counters */
 	printk("Counters read from CPU %d\n", smp_processor_id());
 	for_each_online_cpu(cpu) {
Signature · 2 lines
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
Applied
#1 lore raw
Quoted 7 lines · Mathieu Desnoyers

* Dr. David Alan Gilbert ([email protected]) wrote:
[...]

Quoted 4 lines

I noticed while looking at something else that the example in local_ops.txt still has the 4 operand on_each_cpu in the latest git; I don't know the rest of the code around there very well so I thought it best to mention it rather than post a patch.

Quoted 6 lines
---
 Documentation/local_ops.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

applied to tip/core/urgent, thanks!

Ingo