aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>2008-08-20 16:45:52 -0700
committerIngo Molnar <mingo@elte.hu>2008-08-21 13:27:33 +0200
commit28df82ebab79c6a2b4295dd94fd8de88196a49df (patch)
treee206038eea131a943b08590b8440d6119875ff00 /lib/bitmap.c
parentx86: PAT proper tracking of set_memory_uc and friends (diff)
downloadwireguard-linux-28df82ebab79c6a2b4295dd94fd8de88196a49df.tar.xz
wireguard-linux-28df82ebab79c6a2b4295dd94fd8de88196a49df.zip
devmem, x86: PAT Change /dev/mem mmap with O_SYNC to use UC_MINUS
All kernel mappings like ioremap(), etc uses UC_MINUS as the type. /dev/mem mappings with /dev/mem being opened with O_SYNC however was using UC, resulting in a conflict with /dev/mem mmap failing. This seems to be affecting some apps (one being flashrom) which are using O_SYNC and which were working before. Switch /dev/mem with O_SYNC also to UC_MINUS. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions