diff options
Diffstat (limited to 'include/asm-x86/asm.h')
-rw-r--r-- | include/asm-x86/asm.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-x86/asm.h b/include/asm-x86/asm.h new file mode 100644 index 000000000000..b5006eb9acba --- /dev/null +++ b/include/asm-x86/asm.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #ifndef _ASM_X86_ASM_H | ||
2 | #define _ASM_X86_ASM_H | ||
3 | |||
4 | #ifdef CONFIG_X86_32 | ||
5 | /* 32 bits */ | ||
6 | |||
7 | # define _ASM_PTR " .long " | ||
8 | # define _ASM_ALIGN " .balign 4 " | ||
9 | |||
10 | #else | ||
11 | /* 64 bits */ | ||
12 | |||
13 | # define _ASM_PTR " .quad " | ||
14 | # define _ASM_ALIGN " .balign 8 " | ||
15 | |||
16 | #endif /* CONFIG_X86_32 */ | ||
17 | |||
18 | #endif /* _ASM_X86_ASM_H */ | ||