David Daney | c52d0d3 | 2010-02-18 16:13:04 -0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * Copyright (C) 2009 Cavium Networks |
| 7 | */ |
| 8 | |
| 9 | #ifndef __ASM_VDSO_H |
| 10 | #define __ASM_VDSO_H |
| 11 | |
| 12 | #include <linux/types.h> |
| 13 | |
| 14 | |
| 15 | #ifdef CONFIG_32BIT |
| 16 | struct mips_vdso { |
| 17 | u32 signal_trampoline[2]; |
| 18 | u32 rt_signal_trampoline[2]; |
| 19 | }; |
| 20 | #else /* !CONFIG_32BIT */ |
| 21 | struct mips_vdso { |
| 22 | u32 o32_signal_trampoline[2]; |
| 23 | u32 o32_rt_signal_trampoline[2]; |
| 24 | u32 rt_signal_trampoline[2]; |
| 25 | u32 n32_rt_signal_trampoline[2]; |
| 26 | }; |
| 27 | #endif /* CONFIG_32BIT */ |
| 28 | |
| 29 | #endif /* __ASM_VDSO_H */ |