kbuild: move utsrelease.h to include/generated
authorSam Ravnborg <sam@ravnborg.org>
Sat, 17 Oct 2009 22:52:28 +0000 (00:52 +0200)
committerMichal Marek <mmarek@suse.cz>
Sat, 12 Dec 2009 12:08:15 +0000 (13:08 +0100)
Fix up all users of utsrelease.h

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
17 files changed:
.gitignore
Makefile
arch/alpha/boot/bootp.c
arch/alpha/boot/bootpz.c
arch/alpha/boot/main.c
arch/frv/kernel/setup.c
arch/powerpc/platforms/52xx/efika.c
arch/powerpc/platforms/amigaone/setup.c
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/powermac/bootx_init.c
arch/x86/boot/header.S
arch/x86/boot/version.c
drivers/staging/panel/panel.c
include/linux/vermagic.h
init/version.c
kernel/kexec.c
kernel/trace/trace.c

index c6c19ea6ea968a882801c8088a4c00beb7ef9335..002d5304968b1cbe9124872106bd31bd9d5a3193 100644 (file)
@@ -47,7 +47,6 @@ Module.symvers
 #
 include/config
 include/linux/version.h
-include/linux/utsrelease.h
 include/generated
 
 # stgit generated dirs
index 3bdd932e3d886a627e1c55061fc54401671ce51c..860224d7cbcf469579c431542d6c6f8ce8493a03 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -968,7 +968,7 @@ endif
 # prepare2 creates a makefile if using a separate output directory
 prepare2: prepare3 outputmakefile
 
-prepare1: prepare2 include/linux/version.h include/linux/utsrelease.h \
+prepare1: prepare2 include/linux/version.h include/generated/utsrelease.h \
                    include/config/auto.conf
        $(cmd_crmodverdir)
 
@@ -1005,7 +1005,7 @@ endef
 include/linux/version.h: $(srctree)/Makefile FORCE
        $(call filechk,version.h)
 
-include/linux/utsrelease.h: include/config/kernel.release FORCE
+include/generated/utsrelease.h: include/config/kernel.release FORCE
        $(call filechk,utsrelease.h)
 
 PHONY += headerdep
@@ -1151,7 +1151,6 @@ CLEAN_FILES +=    vmlinux System.map \
 MRPROPER_DIRS  += include/config usr/include include/generated
 MRPROPER_FILES += .config .config.old .version .old_version             \
                   include/linux/version.h                               \
-                  include/linux/utsrelease.h                            \
                  Module.symvers Module.markers tags TAGS cscope*
 
 # clean - Delete most, but leave enough to build external modules
index 3af21c78933943df7e3750b3d61d3fd391581b87..3c8d1b25c66105b3fb34f9b693c712d9b3d05d52 100644 (file)
@@ -9,7 +9,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/string.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/mm.h>
 
 #include <asm/system.h>
index 1036b515e20c80f55fa04db8c8dbd88ac7c749c0..ade3f129dc2722e26168495bdc28066d24fcd609 100644 (file)
@@ -11,7 +11,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/string.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/mm.h>
 
 #include <asm/system.h>
index 89f3be071ae5df5f947c7d7ee9fb888e93fa2912..644b7db55438f4f1d1b8136bd9f680bbcf4f75a8 100644 (file)
@@ -7,7 +7,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/string.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/mm.h>
 
 #include <asm/system.h>
index 55e4fab7c0bc7f3929729e8a20a07a0b8be80bd5..75cf7f4b2fa81d8e0bd18cf6d0ff3ae4d64f8004 100644 (file)
@@ -10,7 +10,7 @@
  * 2 of the License, or (at your option) any later version.
  */
 
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/delay.h>
index bcc69e1f77c10d800a40432522f121e80119314f..45c0cb9b67e6774958c621b6e3c8055d43e46163 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #include <linux/init.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/pci.h>
 #include <linux/of.h>
 #include <asm/prom.h>
index 9290a7a442d0af9d2736a81e4431ffd367df92b0..fb4eb0df054c0a701fe74df78990d40bd480e2df 100644 (file)
@@ -14,7 +14,7 @@
 
 #include <linux/kernel.h>
 #include <linux/seq_file.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 
 #include <asm/machdep.h>
 #include <asm/cputable.h>
index cd4ad9aea760d966505a977d9d92e5a7f1f33e38..0a6f5ab8aab36aeece1974cebd2b0e7a67b698cb 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/reboot.h>
 #include <linux/init.h>
 #include <linux/pci.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/adb.h>
 #include <linux/module.h>
 #include <linux/delay.h>
index cf660916ae0b0101ac36824fd3a2db8fd3e13997..9dd789a7370d8b210d2c7907d2c3a5e97238d735 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <asm/sections.h>
 #include <asm/prom.h>
 #include <asm/page.h>
index b31cc54b46410f89b4120702b1d1b018a79e204d..93e689f4bd86f78730e4feb4f1f08c4e1f4d6dae 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #include <asm/segment.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <asm/boot.h>
 #include <asm/e820.h>
 #include <asm/page_types.h>
index 4d88763e39cb383a30d7bdcb2a9221e68b43405b..2b15aa488ffb2af8d446a20f26eab07b8e21d8d5 100644 (file)
@@ -13,7 +13,7 @@
  */
 
 #include "boot.h"
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <generated/compile.h>
 
 const char kernel_version[] =
index 4ce399b6d237546961b826734ca8c77003915eb4..f98a52448eae93d2cb7f1ba9381a7d0e9769bfb4 100644 (file)
@@ -55,7 +55,7 @@
 #include <linux/list.h>
 #include <linux/notifier.h>
 #include <linux/reboot.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 
 #include <linux/io.h>
 #include <asm/uaccess.h>
index 79b9837d9ca079b809405ae7d0a6ed93d5cf273c..cf97b5b9d1fe8928bca85db1e5ae888681a39519 100644 (file)
@@ -1,4 +1,4 @@
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/module.h>
 
 /* Simply sanity version stamp for modules. */
index 82328aaca1ef7deef6550c11f250d5e5c860e2ce..adff586401a50c2e6de2ee145ae6a047fd03c6ba 100644 (file)
@@ -10,7 +10,7 @@
 #include <linux/module.h>
 #include <linux/uts.h>
 #include <linux/utsname.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/version.h>
 
 #ifndef CONFIG_KALLSYMS
index f336e2107f980e2546ecc118d2dd3239f655ebae..83f54e2a6eedea011f0ecfc5c2da06d1dbef6226 100644 (file)
@@ -21,7 +21,7 @@
 #include <linux/hardirq.h>
 #include <linux/elf.h>
 #include <linux/elfcore.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/numa.h>
 #include <linux/suspend.h>
index 88bd9ae2a9ed9b71b881c665f7cdb4eb722cf309..bfb1b64bfa9d408de313071eb9589c622550872f 100644 (file)
@@ -12,7 +12,7 @@
  *  Copyright (C) 2004 William Lee Irwin III
  */
 #include <linux/ring_buffer.h>
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
 #include <linux/stacktrace.h>
 #include <linux/writeback.h>
 #include <linux/kallsyms.h>