]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] remove linux/version.h include from arch/ppc64
authorOlaf Hering <olh@suse.de>
Sun, 10 Jul 2005 19:35:15 +0000 (19:35 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 6 Sep 2005 06:57:46 +0000 (16:57 +1000)
Changing CONFIG_LOCALVERSION rebuilds too much, for no apparent reason.

Use system_utsname for progress and debug header.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/btext.c
arch/ppc64/kernel/pSeries_setup.c
arch/ppc64/kernel/prom.c
arch/ppc64/kernel/prom_init.c
arch/ppc64/kernel/setup.c

index c53f079e9b77af0a4ead0bc85543802ab882fe0f..b6fbfbe9032d4f26cee7109116e1464f7ad8a385 100644 (file)
@@ -7,7 +7,6 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/version.h>
 
 #include <asm/sections.h>
 #include <asm/prom.h>
index cb570fd23031ce7e17de714918c6a6fbc8e61787..9490b6c5b1736ae7fa5b42b7cbdf9a02020bd791 100644 (file)
@@ -37,7 +37,7 @@
 #include <linux/ioport.h>
 #include <linux/console.h>
 #include <linux/pci.h>
-#include <linux/version.h>
+#include <linux/utsname.h>
 #include <linux/adb.h>
 #include <linux/module.h>
 #include <linux/delay.h>
@@ -272,7 +272,7 @@ static int __init pSeries_init_panel(void)
 {
        /* Manually leave the kernel version on the panel. */
        ppc_md.progress("Linux ppc64\n", 0);
-       ppc_md.progress(UTS_RELEASE, 0);
+       ppc_md.progress(system_utsname.version, 0);
 
        return 0;
 }
index b21848826791e224a7bf9bd737de5c0feba74ebe..6ad5a8467f87f1aed705aa793e6f1175e42f207d 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/threads.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
index 122283a1d39a79d2cb988b51128bec5e582cccdd..9979919cdf9297c1481091151caca0a401ea6a94 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/threads.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
index aff408bffdd50f846fb3141dd45fa59ce6674a81..d0bb68af0ea41d48bca4bc945d6e727ffcd2a424 100644 (file)
@@ -25,7 +25,7 @@
 #include <linux/seq_file.h>
 #include <linux/ioport.h>
 #include <linux/console.h>
-#include <linux/version.h>
+#include <linux/utsname.h>
 #include <linux/tty.h>
 #include <linux/root_dev.h>
 #include <linux/notifier.h>
@@ -621,7 +621,7 @@ void __init setup_system(void)
        smp_release_cpus();
 #endif /* defined(CONFIG_SMP) && !defined(CONFIG_PPC_ISERIES) */
 
-       printk("Starting Linux PPC64 %s\n", UTS_RELEASE);
+       printk("Starting Linux PPC64 %s\n", system_utsname.version);
 
        printk("-----------------------------------------------------\n");
        printk("ppc64_pft_size                = 0x%lx\n", ppc64_pft_size);