lkml.org 
[lkml]   [2005]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 6/82] remove linux/version.h include from arch/ppc

    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>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-07-11 02:21    [W:0.022 / U:58.736 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site