mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
3578facf73
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
21 lines
346 B
C
21 lines
346 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 "
|
|
# define _ASM_MOV_UL " movl "
|
|
|
|
#else
|
|
/* 64 bits */
|
|
|
|
# define _ASM_PTR " .quad "
|
|
# define _ASM_ALIGN " .balign 8 "
|
|
# define _ASM_MOV_UL " movq "
|
|
|
|
#endif /* CONFIG_X86_32 */
|
|
|
|
#endif /* _ASM_X86_ASM_H */
|