Re: what is the right behavior of copy_to_user(0x0, ..., ...)?

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

 



On Tue, May 07, 2002 at 10:47:56AM +0200, Carsten Langgaard wrote:

> It fix a problem I have had for quite a while in the r4k_fpu.S. The code in
> question is:
>         jr      ra
>         .set    nomacro
>          EX(sw  t0,SC_FPC_EIR(a0))
>         .set    macro
> 
> I have fixed it locally by removing the SW from the delay-slot, but obviously
> your fix is the right one.
> But I guess we need the same fix in arch/mips/kernel/unaligned.c.

Good spotting.  I'll use a slightly different fix using the new inline
function exception_epc() in <asm/branch.h> to implement that slightly
more elegant.

Thanks,

  Ralf

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux