diff options
author | Thomas Bogendoerfer <[email protected]> | 2019-02-27 10:42:56 +0100 |
---|---|---|
committer | Paul Burton <[email protected]> | 2019-02-27 18:49:29 -0800 |
commit | e0bf304e4a00d66d90904a6c5b93141f177cf6d2 (patch) | |
tree | ad4311bb161fcb8976279002a4b807eb9bb4fd9c /scripts/bpf_helpers_doc.py | |
parent | 18836b48ebae20850631ee2916d0cdbb86df813d (diff) |
MIPS: fix memory setup for platforms with PHYS_OFFSET != 0
For platforms, which use a PHYS_OFFSET != 0, symbol _end also
contains that offset. So when calling memblock_reserve() for
reserving kernel the size argument needs to be adjusted.
Fixes: bcec54bf3118 ("mips: switch to NO_BOOTMEM")
Acked-by: Mike Rapoport <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Mike Rapoport <[email protected]>
Cc: [email protected] # v4.20+
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions