aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/asm.h
blob: 8661ae75488a59277e6f0b5b814fe40692fc3823 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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 */