diff options
| author | Chris Metcalf <cmetcalf@tilera.com> | 2012-03-29 14:52:00 -0400 |
|---|---|---|
| committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-04-02 12:12:48 -0400 |
| commit | e17235382dbb05f70146e141e4b780fd069050dc (patch) | |
| tree | d4da45df23c48ac7e0e4f61821125174a39e436a /arch/tile/include | |
| parent | 5f639fdcd8c186c8128c616e94a7e7b159c968ae (diff) | |
arch/tile: work around a hardware issue with the return-address stack
In certain circumstances we need to do a bunch of jump-and-link
instructions to fill the hardware return-address stack with nonzero values.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include')
| -rw-r--r-- | arch/tile/include/asm/traps.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/tile/include/asm/traps.h b/arch/tile/include/asm/traps.h index 5f20f920f932..e28c3df4176a 100644 --- a/arch/tile/include/asm/traps.h +++ b/arch/tile/include/asm/traps.h | |||
| @@ -64,7 +64,11 @@ void do_breakpoint(struct pt_regs *, int fault_num); | |||
| 64 | 64 | ||
| 65 | 65 | ||
| 66 | #ifdef __tilegx__ | 66 | #ifdef __tilegx__ |
| 67 | /* kernel/single_step.c */ | ||
| 67 | void gx_singlestep_handle(struct pt_regs *, int fault_num); | 68 | void gx_singlestep_handle(struct pt_regs *, int fault_num); |
| 69 | |||
| 70 | /* kernel/intvec_64.S */ | ||
| 71 | void fill_ra_stack(void); | ||
| 68 | #endif | 72 | #endif |
| 69 | 73 | ||
| 70 | #endif /* _ASM_TILE_SYSCALLS_H */ | 74 | #endif /* _ASM_TILE_TRAPS_H */ |
