diff options
author | 2008-08-20 16:45:52 -0700 | |
---|---|---|
committer | 2008-08-21 13:27:33 +0200 | |
commit | 28df82ebab79c6a2b4295dd94fd8de88196a49df (patch) | |
tree | e206038eea131a943b08590b8440d6119875ff00 /lib/bitmap.c | |
parent | x86: PAT proper tracking of set_memory_uc and friends (diff) | |
download | wireguard-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