[Compile Regression in 2.4.25-pre8][PATCH 11/42]

From: Kronos
Date: Mon Feb 02 2004 - 15:56:40 EST



include/asm/smpboot.h:126: warning: deprecated use of label at end of compound statement

Move the return statement under 'default' label to suppress the warning.

diff -Nru -X dontdiff linux-2.4-vanilla/include/asm-i386/smpboot.h linux-2.4/include/asm-i386/smpboot.h
--- linux-2.4-vanilla/include/asm-i386/smpboot.h Tue Nov 11 17:51:14 2003
+++ linux-2.4/include/asm-i386/smpboot.h Sat Jan 31 17:10:50 2004
@@ -123,8 +123,8 @@
cpu = (cpu+1)%smp_num_cpus;
return cpu_to_physical_apicid(cpu);
default:
+ return cpu_online_map;
}
- return cpu_online_map;
}
#else
#define target_cpus() (cpu_online_map)


--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
Ci sono due cose che l'uomo non puo` nascondere:
essere ubriaco ed essere innamorato.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/