summaryrefslogtreecommitdiff
path: root/drivers/parisc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2022-01-22 18:19:49 +0000
committerHelge Deller <deller@gmx.de>2022-01-28 10:15:33 +0100
commit9129886b88185962538180625ca8051362b01327 (patch)
tree3a22eb638719cdfaca3c67f124ee64eee9b06dc4 /drivers/parisc
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
parisc: Drop __init from map_pages declaration
With huge kernel pages, we randomly eat a SPARC in map_pages(). This is fixed by dropping __init from the declaration. However, map_pages references the __init routine memblock_alloc_try_nid via memblock_alloc. Thus, it needs to be marked with __ref. memblock_alloc is only called before the kernel text is set to readonly. The __ref on free_initmem is no longer needed. Comment regarding map_pages being in the init section is removed. Signed-off-by: John David Anglin <dave.anglin@bell.net> Cc: stable@vger.kernel.org # v5.4+ Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions