documentation: local_ops fix on_each_cpu
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_cpuin 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.
Reported-by Dr. David Alan Gilbert <[email protected]>
Signed-off-by Mathieu Desnoyers <[email protected]>
CC Ingo Molnar <[email protected]>
--- Documentation/local_ops.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/local_ops.txt +1 -1
@@ -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
Ingo Molnar
AppliedQuoted 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_cpuin 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
Reported-by Dr. David Alan Gilbert <[email protected]>Signed-off-by Mathieu Desnoyers <[email protected]>CC Ingo Molnar <[email protected]>--- Documentation/local_ops.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to tip/core/urgent, thanks!
Ingo