Re: [patch] cyrix eliminate bad section references

From: Randy.Dunlap (rddunlap_at_osdl.org)
Date: 03/11/05

  • Next message: James Simmons: "Re: AGP bogosities"
    Date:	Fri, 11 Mar 2005 10:03:44 -0800
    To: maximilian attems <janitor@sternwelten.at>
    
    

    maximilian attems wrote:
    > Fix cyrix section references:
    > convert __initdata to __devinitdata.
    >
    > Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 00000379
    > R_386_32 .init.data
    > Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 00000399
    > R_386_32 .init.data
    > Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 000003b3
    > R_386_32 .init.data
    > Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 000003b9
    > R_386_32 .init.data
    > Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 000003bf
    > R_386_32 .init.data
    >
    > not many left on my .config, thanks Randy!

    Yes, almost done. :)

    >
    > signed-of-by: maximilian attems <janitor@sternwelten.at>

    Acked-by: Randy Dunlap <rddunlap@osdl.org>

    >
    > diff -pruN -X dontdiff linux-2.6.11-bk6/arch/i386/kernel/cpu/mtrr/cyrix.c linux-2.6.11-bk6-max/arch/i386/kernel/cpu/mtrr/cyrix.c
    > --- linux-2.6.11-bk6/arch/i386/kernel/cpu/mtrr/cyrix.c 2005-03-11 09:28:05.000000000 +0100
    > +++ linux-2.6.11-bk6-max/arch/i386/kernel/cpu/mtrr/cyrix.c 2005-03-11 14:15:33.000000000 +0100
    > @@ -218,12 +218,12 @@ typedef struct {
    > mtrr_type type;
    > } arr_state_t;
    >
    > -static arr_state_t arr_state[8] __initdata = {
    > +static arr_state_t arr_state[8] __devinitdata = {
    > {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL},
    > {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}
    > };
    >
    > -static unsigned char ccr_state[7] __initdata = { 0, 0, 0, 0, 0, 0, 0 };
    > +static unsigned char ccr_state[7] __devinitdata = { 0, 0, 0, 0, 0, 0, 0 };
    >
    > static void cyrix_set_all(void)
    > {

    -- 
    ~Randy
    -
    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/
    

  • Next message: James Simmons: "Re: AGP bogosities"

    Relevant Pages

    • [patch] cyrix eliminate bad section references
      ... not many left on my .config, thanks Randy! ... static void cyrix_set_all ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • usb palm
      ... Aug 5 19:29:36 foux kernel: ucom0: init failed, TIMEOUT ... To unsubscribe, ...
      (freebsd-current)
    • panic: handle_written_inodeblock: live inodedep
      ... no serial console, so dig pic of trace is at ... To unsubscribe, ...
      (freebsd-current)
    • UPDATING
      ... as the shared lib bump affects user compiled progs, not just ports, ... To unsubscribe, ...
      (freebsd-current)
    • Re: acpi_video users needed
      ... same here, thinkpad t40p, current bios. ... To unsubscribe, ...
      (freebsd-current)