lkml.org 
[lkml]   [2007]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] [7/58] x86_64: various cleanups in NUMA scan node
    On 7/19/07, Andi Kleen <ak@suse.de> wrote:
    >
    > > do we need to put __initdata just before =?
    >
    > AFAIK gcc __attribute__ syntax allows both. It certainly seems to compile.

    in include/linux/init.h

    it said

    "
    * For initialized data:
    * You should insert __initdata between the variable name and equal
    * sign followed by value, e.g.:
    *
    * static int init_variable __initdata = 0;
    * static char linux_logo[] __initdata = { 0x32, 0x36, ... };
    "

    or we need to update these lines?

    YH
    -
    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: 2007-07-19 19:41    [W:2.821 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site