Merge tag 'platform-drivers-x86-v4.2-2' of git://git.infradead.org/users/dvhart/linux...
[linux-2.6-block.git] / arch / microblaze / include / asm / elf.h
CommitLineData
c6087fdc 1/*
e57a221f
MS
2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
c6087fdc
MS
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 */
c6087fdc
MS
10#ifndef _ASM_MICROBLAZE_ELF_H
11#define _ASM_MICROBLAZE_ELF_H
12
3cb0eab2 13#include <uapi/asm/elf.h>
c6087fdc 14
e57a221f 15#ifndef __uClinux__
e57a221f 16#ifndef ELF_GREG_T
e57a221f 17#endif
e57a221f 18#ifndef ELF_NGREG
e57a221f 19#endif
e57a221f 20#ifndef ELF_GREGSET_T
e57a221f 21#endif
e57a221f 22#ifndef ELF_FPREGSET_T
e57a221f 23#endif
02b08045 24#ifdef __MICROBLAZEEL__
e57a221f 25#else
e57a221f 26#endif
16f3e95b
JK
27#define SET_PERSONALITY(ex) \
28 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
e57a221f 29#endif /* __uClinux__ */
c6087fdc 30#endif /* _ASM_MICROBLAZE_ELF_H */