Re: [PARISC] fix signal trampoline cache flushing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 15, 2008 at 3:36 PM, Kyle McMartin <kyle@xxxxxxxxxxx> wrote:
>  diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c
>  index 58fccc9..06213d1 100644
>  --- a/arch/parisc/kernel/signal.c
>  +++ b/arch/parisc/kernel/signal.c
>  @@ -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);

We also have a restartable syscall trampoline (I think this is unique
to PA), does that one also need fixing?

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux