linux/arch/arc
Vineet Gupta 3e87974dec ARC: Brown paper bag bug in macro for checking cache color
The VM_EXEC check in update_mmu_cache() was getting optimized away
because of a stupid error in definition of macro addr_not_cache_congruent()

The intention was to have the equivalent of following:

	if (a || (1 ? b : 0))

but we ended up with following:

	if (a || 1 ? b : 0)

And because precedence of '||' is more that that of '?', gcc was optimizing
away evaluation of <a>

Nasty Repercussions:
1. For non-aliasing configs it would mean some extraneous dcache flushes
   for non-code pages if U/K mappings were not congruent.
2. For aliasing config, some needed dcache flush for code pages might
   be missed if U/K mappings were congruent.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2013-05-23 14:24:52 +05:30
..
boot ARC: [TB10x] Remove redundant abilis,simple-pinctrl mechanism 2013-05-15 10:12:03 +05:30
configs ARC: Add support for nSIM OSCI System C model 2013-05-07 13:44:00 +05:30
include ARC: Brown paper bag bug in macro for checking cache color 2013-05-23 14:24:52 +05:30
kernel ARC port updates for Linux 3.10 (part 1) 2013-05-09 14:36:27 -07:00
lib ARC: String library 2013-02-11 20:00:35 +05:30
mm ARC: Brown paper bag bug in macro for checking cache color 2013-05-23 14:24:52 +05:30
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-arcfpga ARC port updates for Linux 3.10 (part 1) 2013-05-09 14:36:27 -07:00
plat-tb10x ARC: [TB10x] Remove redundant abilis,simple-pinctrl mechanism 2013-05-15 10:12:03 +05:30
Kbuild
Kconfig ARC: [mm] Aliasing VIPT dcache support 2/4 2013-05-09 21:59:46 +05:30
Kconfig.debug
Makefile ARC: [TB10x] Add support for TB10x platform 2013-05-07 13:43:59 +05:30