diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-04-01 13:30:42 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-14 23:04:13 +1000 |
| commit | 9132a2e82adc6e5a1c7c7385df3bfb25576bdd80 (patch) | |
| tree | cb94189f8abacd60819c9cb0e741b85744e59642 /tools/perf/scripts/python | |
| parent | powerpc/modules: Load modules closer to kernel text (diff) | |
| download | linux-9132a2e82adc6e5a1c7c7385df3bfb25576bdd80.tar.gz linux-9132a2e82adc6e5a1c7c7385df3bfb25576bdd80.zip | |
powerpc/8xx: Define a MODULE area below kernel text
On the 8xx, TASK_SIZE is 0x80000000. The space between TASK_SIZE
and PAGE_OFFSET is not used.
In order to benefit from the powerpc specific module_alloc()
function which allocate modules with 32 Mbytes from
end of kernel text, define MODULES_VADDR and MODULES_END.
Set a 256Mb area just below PAGE_OFFSET, like book3s/32.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a225606d5b3a8bc53fe612ad52c855c60b0a0a58.1617283827.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
