mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] for_each_possible_cpu: fixes for generic part
replaces for_each_cpu with for_each_possible_cpu(). Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
631d6747e1
commit
0a94502277
11 changed files with 17 additions and 17 deletions
|
|
@ -373,6 +373,6 @@ static void __devinit fdtable_defer_list_init(int cpu)
|
|||
void __init files_defer_init(void)
|
||||
{
|
||||
int i;
|
||||
for_each_cpu(i)
|
||||
for_each_possible_cpu(i)
|
||||
fdtable_defer_list_init(i);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -534,7 +534,7 @@ static int show_stat(struct seq_file *p, void *v)
|
|||
if (wall_to_monotonic.tv_nsec)
|
||||
--jif;
|
||||
|
||||
for_each_cpu(i) {
|
||||
for_each_possible_cpu(i) {
|
||||
int j;
|
||||
|
||||
user = cputime64_add(user, kstat_cpu(i).cpustat.user);
|
||||
|
|
|
|||
Loading…
Reference in a new issue