aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorMike Rapoport (IBM) <[email protected]>2023-02-14 16:07:28 +0200
committerAndrew Morton <[email protected]>2023-02-16 20:43:55 -0800
commit9325ddf90ec3a801c09da374b74532d4589a7346 (patch)
tree641bbb80685a654cf28f7fb20116e962ab6b7704 /tools/testing/selftests/bpf/progs/test_autoload.c
parent2ef8ed7ddd2e6e69da7802be51af8ad71326a74f (diff)
m68k/nommu: add missing definition of ARCH_PFN_OFFSET
Patch series "fixups for generic implementation of pfn_valid()". Guenter reported boot failures on m68k-nommu and sh caused by the switch to the generic implementation of pfn_valid(): https://lore.kernel.org/all/[email protected] https://lore.kernel.org/all/[email protected] These are small fixups that address the issues. This patch (of 2): On m68k/nommu RAM does not necessarily start at 0x0 and when it does not pfn_valid() uses a wrong offset into the memory map which causes silent boot failures. Define ARCH_PFN_OFFSET to make pfn_valid() use the correct offset. Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Fixes: d82f07f06cf8 ("m68k: use asm-generic/memory_model.h for both MMU and !MMU") Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Mike Rapoport (IBM) <[email protected]> Acked-by: Greg Ungerer <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Rich Felker <[email protected]> Cc: Yoshinori Sato <[email protected]> Cc: John Paul Adrian Glaubitz <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions