diff options
author | venkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com> | 2008-08-20 16:45:52 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-21 13:27:33 +0200 |
commit | 28df82ebab79c6a2b4295dd94fd8de88196a49df (patch) | |
tree | e206038eea131a943b08590b8440d6119875ff00 /include/linux/Kbuild | |
parent | c15238df3b65e34fadb1021b0fb0d5aebc7c42c6 (diff) |
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 'include/linux/Kbuild')
0 files changed, 0 insertions, 0 deletions