Re: [RFC] Consistently use the name asm-offsets.h

From: Ralf Baechle
Date: Fri Sep 09 2005 - 06:17:31 EST


On Thu, Sep 08, 2005 at 11:47:42PM +0200, Sam Ravnborg wrote:

> mips has it own private gen-asm-offset macro,
>
> The important part being:
>
> sed -ne "/^@@@/s///p"; \
>
> compared to the generic one:
>
> sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \
>
> I wonder why the assembly for mips is so different...
> So for now two architectures needs special care: mips and ia64.

MIPS uses it's own rules only for readability of the generated file.

Ralf
-
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/