Re: [patch 1/3] Add BSS to resource tree

From: Andi Kleen
Date: Thu Oct 18 2007 - 17:48:49 EST


> > +extern char _text[], _end[], _etext[], _edata[], _bss[];
>
> These should be in a header file.

Normally the "no externs in .c" rule doesn't apply to assembler or linker
script defined labels. That's because the point of the header file is to
type check them, but there is nothing to type check here.

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