aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMike Rapoport (IBM) <[email protected]>2024-05-05 16:06:16 +0000
committerLuis Chamberlain <[email protected]>2024-05-14 07:31:43 +0000
commite8dbc6a87580d00a4746fbe1e7167e988d3061bc (patch)
tree60898592b889297efa0612c9874851c1eef5f2be /arch/powerpc/lib/code-patching.c
parentnios2: define virtual address space for modules (diff)
downloadkernel-e8dbc6a87580d00a4746fbe1e7167e988d3061bc.tar.gz
kernel-e8dbc6a87580d00a4746fbe1e7167e988d3061bc.zip
sparc: simplify module_alloc()
Define MODULES_VADDR and MODULES_END as VMALLOC_START and VMALLOC_END for 32-bit and reduce module_alloc() to __vmalloc_node_range(size, 1, MODULES_VADDR, MODULES_END, ...) as with the new defines the allocations becomes identical for both 32 and 64 bits. While on it, drop unused include of <linux/jump_label.h> Suggested-by: Sam Ravnborg <[email protected]> Signed-off-by: Mike Rapoport (IBM) <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions