diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-30 08:40:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-30 08:40:09 -0500 |
commit | dd430ca20c40ecccd6954a7efd13d4398f507728 (patch) | |
tree | b65089436d17b2bcc6054ede2e335a821b50007f /include/asm-x86/linkage.h | |
parent | 60e233172eabdd1f831bd48631b9626ce2279d9b (diff) | |
parent | afadcd788f37bfa62d92662e54a720c26c91becf (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
* git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: (890 commits)
x86: fix nodemap_size according to nodeid bits
x86: fix overlap between pagetable with bss section
x86: add PCI IDs to k8topology_64.c
x86: fix early_ioremap pagetable ops
x86: use the same pgd_list for PAE and 64-bit
x86: defer cr3 reload when doing pud_clear()
x86: early boot debugging via FireWire (ohci1394_dma=early)
x86: don't special-case pmd allocations as much
x86: shrink some ifdefs in fault.c
x86: ignore spurious faults
x86: remove nx_enabled from fault.c
x86: unify fault_32|64.c
x86: unify fault_32|64.c with ifdefs
x86: unify fault_32|64.c by ifdef'd function bodies
x86: arch/x86/mm/init_32.c printk fixes
x86: arch/x86/mm/init_32.c cleanup
x86: arch/x86/mm/init_64.c printk fixes
x86: unify ioremap
x86: fixes some bugs about EFI memory map handling
x86: use reboot_type on EFI 32
...
Diffstat (limited to 'include/asm-x86/linkage.h')
-rw-r--r-- | include/asm-x86/linkage.h | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/include/asm-x86/linkage.h b/include/asm-x86/linkage.h index 94b257fa8701..31739c7d66a9 100644 --- a/include/asm-x86/linkage.h +++ b/include/asm-x86/linkage.h | |||
@@ -1,5 +1,25 @@ | |||
1 | #ifndef __ASM_LINKAGE_H | ||
2 | #define __ASM_LINKAGE_H | ||
3 | |||
4 | #ifdef CONFIG_X86_64 | ||
5 | #define __ALIGN .p2align 4,,15 | ||
6 | #define __ALIGN_STR ".p2align 4,,15" | ||
7 | #endif | ||
8 | |||
1 | #ifdef CONFIG_X86_32 | 9 | #ifdef CONFIG_X86_32 |
2 | # include "linkage_32.h" | 10 | #define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0))) |
3 | #else | 11 | #define prevent_tail_call(ret) __asm__ ("" : "=r" (ret) : "0" (ret)) |
4 | # include "linkage_64.h" | 12 | /* |
13 | * For 32-bit UML - mark functions implemented in assembly that use | ||
14 | * regparm input parameters: | ||
15 | */ | ||
16 | #define asmregparm __attribute__((regparm(3))) | ||
17 | #endif | ||
18 | |||
19 | #ifdef CONFIG_X86_ALIGNMENT_16 | ||
20 | #define __ALIGN .align 16,0x90 | ||
21 | #define __ALIGN_STR ".align 16,0x90" | ||
22 | #endif | ||
23 | |||
5 | #endif | 24 | #endif |
25 | |||