Fix order of #includes in init/version.c
PATCH 1/1 Fix order of #includes in init/version.c
Linus, please apply. compile.h must be #included before uts.h, or uts.h will define UTS_MACHINE (incorrectly) which is then redefined in compile.h.
init/version.c renamed from home/dgibson/kernel/linuxppc-2.5/init/version.c +1 -1
@@ -6,10 +6,10 @@* May be freely distributed as part of Linux. */ +#include <linux/compile.h> #include <linux/uts.h> #include <linux/utsname.h> #include <linux/version.h> -#include <linux/compile.h> #define version (a) Version_ ## a#define version_string (a) version(a)
Signature · 4 lines
David Gibson | For every complex problem there is a [email protected] | solution which is simple, neat and | wrong. -- H.L. Mencken http://www.ozlabs.org/people/dgibson