Re: XKPHYS_KERNEL patch - kernel in 64-bit space

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

 



Stanislaw Skowronek wrote:
[snip]
> diff -urN linux-mips-cvs-mdules/arch/mips/mm/tlb-andes.c linux-mips-xkphys/arch/mips/mm/tlb-andes.c
> --- linux-mips-cvs-mdules/arch/mips/mm/tlb-andes.c	Wed Mar 17 22:26:44 2004
> +++ linux-mips-xkphys/arch/mips/mm/tlb-andes.c	Sat May 15 16:09:42 2004
> @@ -264,7 +264,7 @@
>  #endif
>  #ifdef CONFIG_MIPS64
>  	memcpy((void *)(CKSEG0 + 0x000), &except_vec0_generic, 0x80);
> -	memcpy((void *)(CKSEG0 + 0x080), except_vec1_r10k, 0x80);
> +	memcpy((void *)(CKSEG0 + 0x080), &except_vec1_r10k, 0x80);
>  	flush_icache_range(CKSEG0 + 0x80, CKSEG0 + 0x100);

This flush_icache_range should start from CKSEG0, not (CKSEG0 + 80).


Thiemo


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

  Powered by Linux