diff options
Diffstat (limited to 'kernel/profile.c')
| -rw-r--r-- | kernel/profile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/profile.c b/kernel/profile.c index ae7ead82cbc9..58926411eb2a 100644 --- a/kernel/profile.c +++ b/kernel/profile.c | |||
| @@ -252,7 +252,7 @@ static void profile_flip_buffers(void) | |||
| 252 | mutex_lock(&profile_flip_mutex); | 252 | mutex_lock(&profile_flip_mutex); |
| 253 | j = per_cpu(cpu_profile_flip, get_cpu()); | 253 | j = per_cpu(cpu_profile_flip, get_cpu()); |
| 254 | put_cpu(); | 254 | put_cpu(); |
| 255 | on_each_cpu(__profile_flip_buffers, NULL, 0, 1); | 255 | on_each_cpu(__profile_flip_buffers, NULL, 1); |
| 256 | for_each_online_cpu(cpu) { | 256 | for_each_online_cpu(cpu) { |
| 257 | struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; | 257 | struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; |
| 258 | for (i = 0; i < NR_PROFILE_HIT; ++i) { | 258 | for (i = 0; i < NR_PROFILE_HIT; ++i) { |
| @@ -275,7 +275,7 @@ static void profile_discard_flip_buffers(void) | |||
| 275 | mutex_lock(&profile_flip_mutex); | 275 | mutex_lock(&profile_flip_mutex); |
| 276 | i = per_cpu(cpu_profile_flip, get_cpu()); | 276 | i = per_cpu(cpu_profile_flip, get_cpu()); |
| 277 | put_cpu(); | 277 | put_cpu(); |
| 278 | on_each_cpu(__profile_flip_buffers, NULL, 0, 1); | 278 | on_each_cpu(__profile_flip_buffers, NULL, 1); |
| 279 | for_each_online_cpu(cpu) { | 279 | for_each_online_cpu(cpu) { |
| 280 | struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i]; | 280 | struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i]; |
| 281 | memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit)); | 281 | memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit)); |
| @@ -558,7 +558,7 @@ static int __init create_hash_tables(void) | |||
| 558 | out_cleanup: | 558 | out_cleanup: |
| 559 | prof_on = 0; | 559 | prof_on = 0; |
| 560 | smp_mb(); | 560 | smp_mb(); |
| 561 | on_each_cpu(profile_nop, NULL, 0, 1); | 561 | on_each_cpu(profile_nop, NULL, 1); |
| 562 | for_each_online_cpu(cpu) { | 562 | for_each_online_cpu(cpu) { |
| 563 | struct page *page; | 563 | struct page *page; |
| 564 | 564 | ||
