2009-03-27 21:25:34 +08:00
|
|
|
/*
|
2009-05-26 22:30:30 +08:00
|
|
|
* Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
|
|
|
|
* Copyright (C) 2008-2009 PetaLogix
|
2009-03-27 21:25:34 +08:00
|
|
|
* Copyright (C) 2006 Atmark Techno, Inc.
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
#ifndef _ASM_MICROBLAZE_ELF_H
|
|
|
|
#define _ASM_MICROBLAZE_ELF_H
|
|
|
|
|
2012-10-09 16:47:10 +08:00
|
|
|
#include <uapi/asm/elf.h>
|
2009-03-27 21:25:34 +08:00
|
|
|
|
2009-05-26 22:30:30 +08:00
|
|
|
#ifndef __uClinux__
|
|
|
|
#ifndef ELF_GREG_T
|
|
|
|
#endif
|
|
|
|
#ifndef ELF_NGREG
|
|
|
|
#endif
|
|
|
|
#ifndef ELF_GREGSET_T
|
|
|
|
#endif
|
|
|
|
#ifndef ELF_FPREGSET_T
|
|
|
|
#endif
|
2010-09-28 14:04:14 +08:00
|
|
|
#ifdef __MICROBLAZEEL__
|
2009-05-26 22:30:30 +08:00
|
|
|
#else
|
|
|
|
#endif
|
2012-10-05 08:12:20 +08:00
|
|
|
#define SET_PERSONALITY(ex) \
|
|
|
|
set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
|
2009-05-26 22:30:30 +08:00
|
|
|
#endif /* __uClinux__ */
|
2009-03-27 21:25:34 +08:00
|
|
|
#endif /* _ASM_MICROBLAZE_ELF_H */
|