OpenCloudOS-Kernel/arch/arc/mm
Vineet Gupta 0a4c40a3b7 ARC: Fix bogus gcc warning and micro-optimise TLB iteration loop
------------------>8----------------------
arch/arc/mm/tlb.c: In function ‘do_tlb_overlap_fault’:
arch/arc/mm/tlb.c:688:13: warning: array subscript is above array bounds
[-Warray-bounds]
         (pd0[n] & PAGE_MASK)) {
             ^
------------------>8----------------------

While at it, remove the usless last iteration of outer loop when reading
a TLB SET for duplicate entries.

Suggested-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2013-11-06 10:41:41 +05:30
..
Makefile ARC: [mm] Aliasing VIPT dcache support 4/4 2013-05-09 22:00:57 +05:30
cache_arc700.c ARC: cacheflush optim - PTAG can be loop invariant if V-P is const 2013-11-06 10:41:38 +05:30
dma.c ARC: I/O and DMA Mappings 2013-02-15 23:15:54 +05:30
extable.c ARC: Fix coding style issues 2013-04-09 12:21:14 +05:30
fault.c ARC: Change calling convention of do_page_fault() 2013-11-06 10:41:39 +05:30
init.c of: Specify initrd location using 64-bit 2013-07-24 11:10:01 +01:00
ioremap.c ARC: Use <linux/*> headers instead of <asm/*> 2013-04-09 12:21:14 +05:30
mmap.c ARC: [mm] Aliasing VIPT dcache support 4/4 2013-05-09 22:00:57 +05:30
tlb.c ARC: Fix bogus gcc warning and micro-optimise TLB iteration loop 2013-11-06 10:41:41 +05:30
tlbex.S ARC: Change calling convention of do_page_fault() 2013-11-06 10:41:39 +05:30