Michal Simek | c6087fd | 2009-03-27 14:25:34 +0100 | [diff] [blame] | 1 | /* |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 2 | * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> |
| 3 | * Copyright (C) 2008-2009 PetaLogix |
Michal Simek | c6087fd | 2009-03-27 14:25:34 +0100 | [diff] [blame] | 4 | * Copyright (C) 2006 Atmark Techno, Inc. |
| 5 | * |
| 6 | * This file is subject to the terms and conditions of the GNU General Public |
| 7 | * License. See the file "COPYING" in the main directory of this archive |
| 8 | * for more details. |
| 9 | */ |
Michal Simek | c6087fd | 2009-03-27 14:25:34 +0100 | [diff] [blame] | 10 | #ifndef _ASM_MICROBLAZE_ELF_H |
| 11 | #define _ASM_MICROBLAZE_ELF_H |
| 12 | |
David Howells | 3cb0eab | 2012-10-09 09:47:10 +0100 | [diff] [blame] | 13 | #include <uapi/asm/elf.h> |
Michal Simek | c6087fd | 2009-03-27 14:25:34 +0100 | [diff] [blame] | 14 | |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 15 | #ifndef __uClinux__ |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 16 | #ifndef ELF_GREG_T |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 17 | #endif |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 18 | #ifndef ELF_NGREG |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 19 | #endif |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 20 | #ifndef ELF_GREGSET_T |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 21 | #endif |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 22 | #ifndef ELF_FPREGSET_T |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 23 | #endif |
Michal Simek | 02b0804 | 2010-09-28 16:04:14 +1000 | [diff] [blame] | 24 | #ifdef __MICROBLAZEEL__ |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 25 | #else |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 26 | #endif |
Jiri Kosina | 16f3e95 | 2012-10-04 17:12:20 -0700 | [diff] [blame] | 27 | #define SET_PERSONALITY(ex) \ |
| 28 | set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK))) |
Michal Simek | e57a221 | 2009-05-26 16:30:30 +0200 | [diff] [blame] | 29 | #endif /* __uClinux__ */ |
Michal Simek | c6087fd | 2009-03-27 14:25:34 +0100 | [diff] [blame] | 30 | #endif /* _ASM_MICROBLAZE_ELF_H */ |