diff options
| author | Matt Redfearn <[email protected]> | 2016-03-31 10:05:36 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-05-13 14:02:02 +0200 |
| commit | 279b991b24d2439fbe9d2f093988b9c8aed2603d (patch) | |
| tree | 60034743298cc93906fd61821677db5b1f7473c1 /tools/perf/scripts/python | |
| parent | e818fac595ab94900f0046baba1f1a0e2d5c2435 (diff) | |
MIPS: Kernel: Add relocate.c
arch/mips/kernel/relocate.c contains the functions necessary to relocate
the kernel elsewhere in memory
The kernel makes a copy of itself at the new address. It uses the
relocation table inserted by the relocs tool to fix symbol references
within the new image.
If copy/relocation is sucessful then the entry point of the new kernel
is returned, otherwise fall back to starting the kernel in place.
Signed-off-by: Matt Redfearn <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12985/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions