| .. | .. |
|---|
| 8 | 8 | |
|---|
| 9 | 9 | #include <asm/unaligned.h> |
|---|
| 10 | 10 | |
|---|
| 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 | | - |
|---|
| 16 | 11 | /* |
|---|
| 17 | 12 | * on the H8 a couple of the relocations have an instruction in the |
|---|
| 18 | 13 | * top byte. As there can only be 24bits of address space, we just |
|---|
| .. | .. |
|---|
| 22 | 17 | |
|---|
| 23 | 18 | #define flat_get_relocate_addr(rel) (rel & ~0x00000001) |
|---|
| 24 | 19 | static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags, |
|---|
| 25 | | - u32 *addr, u32 *persistent) |
|---|
| 20 | + u32 *addr) |
|---|
| 26 | 21 | { |
|---|
| 27 | 22 | u32 val = get_unaligned((__force u32 *)rp); |
|---|
| 28 | 23 | if (!(flags & FLAT_FLAG_GOTPIC)) |
|---|