Loading arch/arc/kernel/setup.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -412,6 +412,11 @@ static int show_cpuinfo(struct seq_file *m, void *v) char *str; char *str; int cpu_id = ptr_to_cpu(v); int cpu_id = ptr_to_cpu(v); if (!cpu_online(cpu_id)) { seq_printf(m, "processor [%d]\t: Offline\n", cpu_id); goto done; } str = (char *)__get_free_page(GFP_TEMPORARY); str = (char *)__get_free_page(GFP_TEMPORARY); if (!str) if (!str) goto done; goto done; Loading @@ -429,7 +434,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) free_page((unsigned long)str); free_page((unsigned long)str); done: done: seq_printf(m, "\n\n"); seq_printf(m, "\n"); return 0; return 0; } } Loading Loading
arch/arc/kernel/setup.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -412,6 +412,11 @@ static int show_cpuinfo(struct seq_file *m, void *v) char *str; char *str; int cpu_id = ptr_to_cpu(v); int cpu_id = ptr_to_cpu(v); if (!cpu_online(cpu_id)) { seq_printf(m, "processor [%d]\t: Offline\n", cpu_id); goto done; } str = (char *)__get_free_page(GFP_TEMPORARY); str = (char *)__get_free_page(GFP_TEMPORARY); if (!str) if (!str) goto done; goto done; Loading @@ -429,7 +434,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) free_page((unsigned long)str); free_page((unsigned long)str); done: done: seq_printf(m, "\n\n"); seq_printf(m, "\n"); return 0; return 0; } } Loading