Re: [PATCH] Remove hardcoded offsets from i386 asm

From: Brian Gerst
Date: Fri May 14 2004 - 08:32:19 EST


Vincent Hanquez wrote:
On Thu, May 13, 2004 at 10:40:10PM -0400, Brian Gerst wrote:

Generate offsets for thread_info, cpuinfo_x86, and a few others instead of hardcoding them.


Hi Brian,

why not keeping all macro name in uppercase ?

the patch would look a lot smaller, and as the macro got the same
meaning, I don't see why the name should change.


- movl TI_FLAGS(%ebp), %ecx
+ movl TI_flags(%ebp), %ecx


Cheers,

To follow the convention of having the member name in lower case.

--
Brian Gerst
-
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/