H. Peter Anvin | e845c06 | 2008-01-30 13:30:06 +0100 | [diff] [blame] | 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 " |
Thomas Gleixner | 3578fac | 2008-01-30 13:30:38 +0100 | [diff] [blame] | 9 | # define _ASM_MOV_UL " movl " |
H. Peter Anvin | e845c06 | 2008-01-30 13:30:06 +0100 | [diff] [blame] | 10 | |
| 11 | #else |
| 12 | /* 64 bits */ |
| 13 | |
| 14 | # define _ASM_PTR " .quad " |
| 15 | # define _ASM_ALIGN " .balign 8 " |
Thomas Gleixner | 3578fac | 2008-01-30 13:30:38 +0100 | [diff] [blame] | 16 | # define _ASM_MOV_UL " movq " |
H. Peter Anvin | e845c06 | 2008-01-30 13:30:06 +0100 | [diff] [blame] | 17 | |
| 18 | #endif /* CONFIG_X86_32 */ |
| 19 | |
| 20 | #endif /* _ASM_X86_ASM_H */ |