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

H. Peter Anvin
2007-11-13T19:06:39Z

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