diff options
| author | [email protected] <[email protected]> | 2008-03-18 17:00:20 -0700 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-04-24 23:40:47 +0200 |
| commit | f0970c13b6a5b01189aeb196ebb573cf87d95839 (patch) | |
| tree | c33836b693ca066c19dc8986165aee5849fbcdd9 /net/lapb/lapb_subr.c | |
| parent | e045fb2a988a9a1964059b0d33dbaf18d12f925f (diff) | |
x86: PAT phys_mem_access_prot_allowed for dev/mem mmap
Introduce phys_mem_access_prot_allowed(), which checks whether the mapping
is possible, without any conflicts and returns success or failure based on that.
phys_mem_access_prot() by itself does not allow failure case. This ability
to return error is needed for PAT where we may have aliasing conflicts.
x86 setup __HAVE_PHYS_MEM_ACCESS_PROT and move x86 specific code out of
/dev/mem into arch specific area.
Signed-off-by: Venkatesh Pallipadi <[email protected]>
Signed-off-by: Suresh Siddha <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions