Commit ecd3e709 authored by siyanteng's avatar siyanteng Committed by Thomas Bogendoerfer

MIPS: loongson64: smp.c: Fix block comment coding style

This patch fixes:
"WARNING: Block comments use a trailing */ on a separate line"
by checkpatch.pl
Signed-off-by: default avatarsiyanteng <siyanteng@loongson.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 0ea33321
...@@ -483,7 +483,8 @@ static void __init loongson3_smp_setup(void) ...@@ -483,7 +483,8 @@ static void __init loongson3_smp_setup(void)
init_cpu_possible(cpu_none_mask); init_cpu_possible(cpu_none_mask);
/* For unified kernel, NR_CPUS is the maximum possible value, /* For unified kernel, NR_CPUS is the maximum possible value,
* loongson_sysconf.nr_cpus is the really present value */ * loongson_sysconf.nr_cpus is the really present value
*/
while (i < loongson_sysconf.nr_cpus) { while (i < loongson_sysconf.nr_cpus) {
if (loongson_sysconf.reserved_cpus_mask & (1<<i)) { if (loongson_sysconf.reserved_cpus_mask & (1<<i)) {
/* Reserved physical CPU cores */ /* Reserved physical CPU cores */
...@@ -569,7 +570,8 @@ static void loongson3_cpu_die(unsigned int cpu) ...@@ -569,7 +570,8 @@ static void loongson3_cpu_die(unsigned int cpu)
/* To shutdown a core in Loongson 3, the target core should go to CKSEG1 and /* To shutdown a core in Loongson 3, the target core should go to CKSEG1 and
* flush all L1 entries at first. Then, another core (usually Core 0) can * flush all L1 entries at first. Then, another core (usually Core 0) can
* safely disable the clock of the target core. loongson3_play_dead() is * safely disable the clock of the target core. loongson3_play_dead() is
* called via CKSEG1 (uncached and unmmaped) */ * called via CKSEG1 (uncached and unmmaped)
*/
static void loongson3_type1_play_dead(int *state_addr) static void loongson3_type1_play_dead(int *state_addr)
{ {
register int val; register int val;
......
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