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:29 +0200
committerAndrew Morton <[email protected]>2023-02-16 20:43:55 -0800
commitb4fb12e6c74791ac4c5c98b845628c576366b889 (patch)
treea5b85ae370cadd04cbf7673abd00ca1b31d77b0f /tools/testing/selftests/bpf/progs/test_autoload.c
parent9325ddf90ec3a801c09da374b74532d4589a7346 (diff)
sh: initialize max_mapnr
sh never initializes max_mapnr which is used by the generic implementation of pfn_valid(). Initialize max_mapnr with set_max_mapnr() in sh::paging_init(). Link: https://lkml.kernel.org/r/[email protected] Fixes: e5080a967785 ("mm, arch: add generic implementation of pfn_valid() for FLATMEM") Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Mike Rapoport (IBM) <[email protected]> Acked-by: John Paul Adrian Glaubitz <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Greg Ungerer <[email protected]> Cc: Rich Felker <[email protected]> Cc: Yoshinori Sato <[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