* [PATCH 6/82] remove linux/version.h include from arch/ppc
[not found] <20050710193508.0.PmFpst2252.2247.olh@nectarine.suse.de>
@ 2005-07-10 19:35 ` Olaf Hering
0 siblings, 0 replies; 2+ messages in thread
From: Olaf Hering @ 2005-07-10 19:35 UTC (permalink / raw)
To: Andrew Morton, linux-kernel; +Cc: linuxppc-dev
changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason.
use system_utsname for CONFIG_BOOTX_TEXT welcome message
Signed-off-by: Olaf Hering <olh@suse.de>
arch/ppc/syslib/btext.c | 6 ++++--
arch/ppc/syslib/prom.c | 1 -
arch/ppc/syslib/prom_init.c | 1 -
3 files changed, 4 insertions(+), 4 deletions(-)
Index: linux-2.6.13-rc2-mm1/arch/ppc/syslib/btext.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/ppc/syslib/btext.c
+++ linux-2.6.13-rc2-mm1/arch/ppc/syslib/btext.c
@@ -7,7 +7,7 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
-#include <linux/version.h>
+#include <linux/utsname.h>
#include <asm/sections.h>
#include <asm/bootx.h>
@@ -81,7 +81,9 @@ btext_welcome(void)
unsigned long pvr;
boot_infos_t* bi = &disp_bi;
- btext_drawstring("Welcome to Linux, kernel " UTS_RELEASE "n");
+ btext_drawstring("Welcome to Linux, kernel ");
+ btext_drawstring(system_utsname.version);
+ btext_drawstring("n");
btext_drawstring("nlinked at : 0x");
btext_drawhex(KERNELBASE);
btext_drawstring("nframe buffer at : 0x");
Index: linux-2.6.13-rc2-mm1/arch/ppc/syslib/prom.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/ppc/syslib/prom.c
+++ linux-2.6.13-rc2-mm1/arch/ppc/syslib/prom.c
@@ -13,7 +13,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/ioport.h>
Index: linux-2.6.13-rc2-mm1/arch/ppc/syslib/prom_init.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/ppc/syslib/prom_init.c
+++ linux-2.6.13-rc2-mm1/arch/ppc/syslib/prom_init.c
@@ -9,7 +9,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/ioport.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 6/82] remove linux/version.h include from arch/ppc
@ 2006-01-05 20:31 J Bucknell
0 siblings, 0 replies; 2+ messages in thread
From: J Bucknell @ 2006-01-05 20:31 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 13 bytes --]
please remove
[-- Attachment #2: Type: text/html, Size: 326 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-05 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05 20:31 [PATCH 6/82] remove linux/version.h include from arch/ppc J Bucknell
[not found] <20050710193508.0.PmFpst2252.2247.olh@nectarine.suse.de>
2005-07-10 19:35 ` Olaf Hering
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).