Commit 3eb27988 authored by Linus Torvalds's avatar Linus Torvalds

ppc64: fix silly typo ("1" vs "i").

parent deaeb66a
...@@ -807,7 +807,7 @@ static int prof_cpu_mask_write_proc (struct file *file, const char __user *buffe ...@@ -807,7 +807,7 @@ static int prof_cpu_mask_write_proc (struct file *file, const char __user *buffe
{ {
unsigned i; unsigned i;
for (i=0; i<NR_CPUS; ++i) { for (i=0; i<NR_CPUS; ++i) {
if ( paca[i].prof_buffer && cpu_isset(1, new_value) ) if ( paca[i].prof_buffer && cpu_isset(i, new_value) )
paca[i].prof_enabled = 1; paca[i].prof_enabled = 1;
else else
paca[i].prof_enabled = 0; paca[i].prof_enabled = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment