Re: [RFC v3 05/13] sections.h: add sections header to collect all section info

Luis R. Rodriguez
2016-07-22T21:42:02Z

On Fri, Jul 22, 2016 at 10:37:16PM +0100, James Hogan wrote:
> Hi Luis,
>
> On Friday 22 July 2016 14:24:39 Luis R. Rodriguez wrote:
> > arch/alpha/include/asm/sections.h | 6 +
> > arch/arm64/include/asm/sections.h | 6 +
> > arch/avr32/include/asm/sections.h | 6 +
> > arch/cris/include/asm/sections.h | 6 +
> > arch/h8300/include/asm/sections.h | 6 +
> > arch/hexagon/include/asm/sections.h | 6 +
> > arch/m32r/include/asm/sections.h | 6 +
> > arch/m68k/include/asm/sections.h | 6 +
> > arch/metag/include/asm/sections.h | 6 +
> > arch/mips/include/asm/sections.h | 6 +
> > arch/mn10300/include/asm/sections.h | 6 +
> > arch/nios2/include/asm/sections.h | 6 +
> > arch/openrisc/include/asm/sections.h | 6 +
> > arch/score/include/asm/sections.h | 6 +
> > arch/unicore32/include/asm/sections.h | 6 +
> > arch/xtensa/include/asm/sections.h | 6 +
>
> > diff --git a/arch/alpha/include/asm/sections.h b/arch/alpha/include/asm/sections.h
> > new file mode 100644
> > index 000000000000..e58fc679fe15
> > --- /dev/null
> > +++ b/arch/alpha/include/asm/sections.h
> > @@ -0,0 +1,6 @@
> > +#ifndef _ASM_ALPHA_SECTIONS_H
> > +#define _ASM_ALPHA_SECTIONS_H
> > +
> > +#include <asm-generic/sections.h>
> > +
> > +#endif /* _ASM_ALPHA_SECTIONS_H */
>
> Any particular reason not to use generic-y in the Kbuild files for
> sections.h, ranges.h, and tables.h?

I was just not aware of that, thanks, will do this in the next iteration!

Luis