hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/h8300/include/asm/flat.h
....@@ -8,11 +8,6 @@
88
99 #include <asm/unaligned.h>
1010
11
-#define flat_argvp_envp_on_stack() 1
12
-#define flat_old_ram_flag(flags) 1
13
-#define flat_reloc_valid(reloc, size) ((reloc) <= (size))
14
-#define flat_set_persistent(relval, p) 0
15
-
1611 /*
1712 * on the H8 a couple of the relocations have an instruction in the
1813 * top byte. As there can only be 24bits of address space, we just
....@@ -22,7 +17,7 @@
2217
2318 #define flat_get_relocate_addr(rel) (rel & ~0x00000001)
2419 static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
25
- u32 *addr, u32 *persistent)
20
+ u32 *addr)
2621 {
2722 u32 val = get_unaligned((__force u32 *)rp);
2823 if (!(flags & FLAT_FLAG_GOTPIC))