Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> |
| 4 | * Copyright (C) 2008-2009 PetaLogix |
| 5 | * Copyright (C) 2006 Atmark Techno, Inc. |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 6 | */ |
| 7 | #ifndef _ASM_MICROBLAZE_ELF_H |
| 8 | #define _ASM_MICROBLAZE_ELF_H |
| 9 | |
| 10 | #include <uapi/asm/elf.h> |
| 11 | |
| 12 | #ifndef __uClinux__ |
| 13 | #ifndef ELF_GREG_T |
| 14 | #endif |
| 15 | #ifndef ELF_NGREG |
| 16 | #endif |
| 17 | #ifndef ELF_GREGSET_T |
| 18 | #endif |
| 19 | #ifndef ELF_FPREGSET_T |
| 20 | #endif |
| 21 | #ifdef __MICROBLAZEEL__ |
| 22 | #else |
| 23 | #endif |
| 24 | #define SET_PERSONALITY(ex) \ |
| 25 | set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK))) |
| 26 | #endif /* __uClinux__ */ |
| 27 | #endif /* _ASM_MICROBLAZE_ELF_H */ |