diff options
| author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-09-24 11:54:36 +0300 |
|---|---|---|
| committer | Michal Simek <michal.simek@xilinx.com> | 2020-10-27 08:01:33 +0100 |
| commit | 627085eacf4a64824fd0bfa2f6f9c1a72d48d21f (patch) | |
| tree | d91dc45a4441940b19b05065644669c688be4a37 /scripts/checkpatch.pl | |
| parent | c99e87f82803500f9811b1e98926d9d25df35b38 (diff) | |
microblaze: start.S: Factor out exception setup code to __setup_exceptions
Currently, the exceptions setup code is duplicated in pre-relocation and
post-relocation init. Factor out this code to __setup_exceptions asm
routine to get rid of the duplication.
__setup_exceptions is called with a relocation offset parameter (r5)
which is set to zero for pre-reloc init and gd->reloc_off for post-reloc
exception setup.
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
