Commit 435cb0af authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Fix order of #includes in init_version.c

[UTS_MACHINE is now defined in the (generated) compile.h]

David Gibson <david@gibson.dropbear.id.au>: [TRIVIAL PATCH] 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.
parent e3b54695
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
* May be freely distributed as part of Linux. * May be freely distributed as part of Linux.
*/ */
#include <linux/compile.h>
#include <linux/uts.h> #include <linux/uts.h>
#include <linux/utsname.h> #include <linux/utsname.h>
#include <linux/version.h> #include <linux/version.h>
#include <linux/compile.h>
#define version(a) Version_ ## a #define version(a) Version_ ## a
#define version_string(a) version(a) #define version_string(a) version(a)
......
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