mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
e845c06bce
Create <asm/asm.h>, with common definitions suitable for assembly unification. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
19 lines
286 B
C
19 lines
286 B
C
#ifndef _ASM_X86_ASM_H
|
|
#define _ASM_X86_ASM_H
|
|
|
|
#ifdef CONFIG_X86_32
|
|
/* 32 bits */
|
|
|
|
# define _ASM_PTR " .long "
|
|
# define _ASM_ALIGN " .balign 4 "
|
|
|
|
#else
|
|
/* 64 bits */
|
|
|
|
# define _ASM_PTR " .quad "
|
|
# define _ASM_ALIGN " .balign 8 "
|
|
|
|
#endif /* CONFIG_X86_32 */
|
|
|
|
#endif /* _ASM_X86_ASM_H */
|