提交 e845c06b 编写于 作者: H H. Peter Anvin 提交者: Ingo Molnar

x86: add <asm/asm.h>

Create <asm/asm.h>, with common definitions suitable for assembly
unification.
Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 39d44a51
#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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册