Re: [patch 4/8] Add asm-compat.h to x86

From: H. Peter Anvin
Date: Tue Nov 13 2007 - 14:06:41 EST


Mathieu Desnoyers wrote:
In assembly code and in gcc inline assembly, we need .long to express a "c long"
type on i386 and a .quad to express the same on x86_64. Use macros similar to
powerpc "PPC_LONG" to express those. Name chosen: ASM_LONG. (didn't feel like
X86_LONG was required)

In the x86 queue I already have a patch which adds <asm/asm.h> for this; I used the namespace _ASM_* and the name _ASM_PTR since in Linux it is what holds a pointer.

-hpa

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