mm: hack: allow to change arm mem attributes through madvise()
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 4 Jun 2014 22:36:39 +0000 (01:36 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 11 Jul 2014 22:37:14 +0000 (01:37 +0300)
Use advise of 0x2000 + <tex0_cb> (0-7) for madvise().
See L_PTE_MT_* in arch/arm/include/asm/pgtable-2level.h for tex0_cb
values to use, only 3 LSB bits are used by the hardware.

mm/madvise.c

diff --cc mm/madvise.c
Simple merge