2020-02-03 10:25:40 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2009-03-27 14:25:34 +01:00
|
|
|
/*
|
2009-05-26 16:30:30 +02:00
|
|
|
* Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
|
|
|
|
* Copyright (C) 2008-2009 PetaLogix
|
2009-03-27 14:25:34 +01:00
|
|
|
* Copyright (C) 2006 Atmark Techno, Inc.
|
|
|
|
*/
|
|
|
|
#ifndef _ASM_MICROBLAZE_ELF_H
|
|
|
|
#define _ASM_MICROBLAZE_ELF_H
|
|
|
|
|
2012-10-09 09:47:10 +01:00
|
|
|
#include <uapi/asm/elf.h>
|
2009-03-27 14:25:34 +01:00
|
|
|
|
2009-05-26 16:30:30 +02: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 16:04:14 +10:00
|
|
|
#ifdef __MICROBLAZEEL__
|
2009-05-26 16:30:30 +02:00
|
|
|
#else
|
|
|
|
#endif
|
2012-10-04 17:12:20 -07:00
|
|
|
#define SET_PERSONALITY(ex) \
|
|
|
|
set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
|
2009-05-26 16:30:30 +02:00
|
|
|
#endif /* __uClinux__ */
|
2009-03-27 14:25:34 +01:00
|
|
|
#endif /* _ASM_MICROBLAZE_ELF_H */
|