.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
---|
1 | 2 | /* |
---|
2 | 3 | * uClinux flat-format executables |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2005 John Williams <jwilliams@itee.uq.edu.au> |
---|
5 | | - * |
---|
6 | | - * This file is subject to the terms and conditions of the GNU General |
---|
7 | | - * Public License. See the file COPYING in the main directory of this |
---|
8 | | - * archive for more details. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #ifndef _ASM_MICROBLAZE_FLAT_H |
---|
12 | 9 | #define _ASM_MICROBLAZE_FLAT_H |
---|
13 | 10 | |
---|
14 | 11 | #include <asm/unaligned.h> |
---|
15 | | - |
---|
16 | | -#define flat_argvp_envp_on_stack() 0 |
---|
17 | | -#define flat_old_ram_flag(flags) (flags) |
---|
18 | | -#define flat_reloc_valid(reloc, size) ((reloc) <= (size)) |
---|
19 | | -#define flat_set_persistent(relval, p) 0 |
---|
20 | 12 | |
---|
21 | 13 | /* |
---|
22 | 14 | * Microblaze works a little differently from other arches, because |
---|
.. | .. |
---|
33 | 25 | */ |
---|
34 | 26 | |
---|
35 | 27 | static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags, |
---|
36 | | - u32 *addr, u32 *persistent) |
---|
| 28 | + u32 *addr) |
---|
37 | 29 | { |
---|
38 | 30 | u32 *p = (__force u32 *)rp; |
---|
39 | 31 | |
---|