hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/microblaze/include/asm/flat.h
....@@ -1,22 +1,14 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * uClinux flat-format executables
34 *
45 * 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.
96 */
107
118 #ifndef _ASM_MICROBLAZE_FLAT_H
129 #define _ASM_MICROBLAZE_FLAT_H
1310
1411 #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
2012
2113 /*
2214 * Microblaze works a little differently from other arches, because
....@@ -33,7 +25,7 @@
3325 */
3426
3527 static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
36
- u32 *addr, u32 *persistent)
28
+ u32 *addr)
3729 {
3830 u32 *p = (__force u32 *)rp;
3931