kernel-hacking-2024-linux-s.../arch/arc
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
..
boot ARC: Add some .gitignore entries 2013-08-26 09:40:24 +05:30
configs Couple of Platform updates (Device Tree files primarily) given that the 2013-07-10 10:11:26 -07:00
include ARC: Add support for irqflags tracing and lockdep 2013-11-06 10:41:40 +05:30
kernel ARC: Add support for irqflags tracing and lockdep 2013-11-06 10:41:40 +05:30
lib ARC: [lib] strchr breakage in Big-endian configuration 2013-08-24 11:24:53 -07:00
mm ARC: Fix bogus gcc warning and micro-optimise TLB iteration loop 2013-11-06 10:41:41 +05:30
oprofile
plat-arcfpga Couple of Platform updates (Device Tree files primarily) given that the 2013-07-10 10:11:26 -07:00
plat-tb10x ARC: [TB10x] Updates for irqchip driver 2013-06-28 15:07:42 +05:30
Kbuild
Kconfig ARC: Add support for irqflags tracing and lockdep 2013-11-06 10:41:40 +05:30
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile ARC: Adjustments for gcc 4.8 2013-06-27 14:35:32 +05:30