Re: [PATCH] Fix known HW bug with MIPS core on NXP/Philips PNX8550

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

 



On Thu, 2007-07-19 16:24:29 +0100, Daniel Laird <daniel.j.laird@xxxxxxx> wrote:
> Update Patch
> 
> Fix known bug with MIPS core when using TLB on NXP/Philips PNX8550

Both versions are whitespace damaged...

> Index: linux-2.6.22.1/arch/mips/mm/tlb-r4k.c
> ===================================================================
> --- linux-2.6.22.1/arch/mips/mm/tlb-r4k.c    (revision 8)
> +++ linux-2.6.22.1/arch/mips/mm/tlb-r4k.c    (working copy)
> @@ -456,7 +456,11 @@
>      */
>     probe_tlb(config);
>     write_c0_pagemask(PM_DEFAULT_MASK);
> +#ifdef CONFIG_SOC_PNX8550
> +    write_c0_wired(11);
> +#else
>     write_c0_wired(0);
> +#endif
>     write_c0_framemask(0);
>     temp_tlb_entry = current_cpu_data.tlbsize - 1;

Magic constants?

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@xxxxxxxxxx              +49-172-7608481
  Signature of:                           Wenn ich wach bin, träume ich.
  the second  :

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux