mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PARISC] fix signal trampoline cache flushing
The signal trampolines were accidently flushing the kernel I$ instead of the users. Fix that up, and also add a missing user D$ flush while we're at it. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
093a07e2fd
commit
cf39cc3b56
1 changed files with 2 additions and 1 deletions
|
@ -534,7 +534,8 @@ insert_restart_trampoline(struct pt_regs *regs)
|
|||
* Flushing one cacheline is cheap.
|
||||
* "sync" on bigger (> 4 way) boxes is not.
|
||||
*/
|
||||
flush_icache_range(regs->gr[30], regs->gr[30] + 4);
|
||||
flush_user_dcache_range(regs->gr[30], regs->gr[30] + 4);
|
||||
flush_user_icache_range(regs->gr[30], regs->gr[30] + 4);
|
||||
|
||||
regs->gr[31] = regs->gr[30] + 8;
|
||||
/* Preserve original r28. */
|
||||
|
|
Loading…
Reference in a new issue