blob: 659024449064887f303966e707d255b2faed4220 [file] [log] [blame]
Michal Simekc6087fd2009-03-27 14:25:34 +01001/*
Michal Simeke57a2212009-05-26 16:30:30 +02002 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
Michal Simekc6087fd2009-03-27 14:25:34 +01004 * 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 Simekc6087fd2009-03-27 14:25:34 +010010#ifndef _ASM_MICROBLAZE_ELF_H
11#define _ASM_MICROBLAZE_ELF_H
12
David Howells3cb0eab2012-10-09 09:47:10 +010013#include <uapi/asm/elf.h>
Michal Simekc6087fd2009-03-27 14:25:34 +010014
Michal Simeke57a2212009-05-26 16:30:30 +020015#ifndef __uClinux__
Michal Simeke57a2212009-05-26 16:30:30 +020016#ifndef ELF_GREG_T
Michal Simeke57a2212009-05-26 16:30:30 +020017#endif
Michal Simeke57a2212009-05-26 16:30:30 +020018#ifndef ELF_NGREG
Michal Simeke57a2212009-05-26 16:30:30 +020019#endif
Michal Simeke57a2212009-05-26 16:30:30 +020020#ifndef ELF_GREGSET_T
Michal Simeke57a2212009-05-26 16:30:30 +020021#endif
Michal Simeke57a2212009-05-26 16:30:30 +020022#ifndef ELF_FPREGSET_T
Michal Simeke57a2212009-05-26 16:30:30 +020023#endif
Michal Simek02b08042010-09-28 16:04:14 +100024#ifdef __MICROBLAZEEL__
Michal Simeke57a2212009-05-26 16:30:30 +020025#else
Michal Simeke57a2212009-05-26 16:30:30 +020026#endif
Jiri Kosina16f3e952012-10-04 17:12:20 -070027#define SET_PERSONALITY(ex) \
28 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
Michal Simeke57a2212009-05-26 16:30:30 +020029#endif /* __uClinux__ */
Michal Simekc6087fd2009-03-27 14:25:34 +010030#endif /* _ASM_MICROBLAZE_ELF_H */