diff options
author | 2010-12-23 16:25:29 -0500 | |
---|---|---|
committer | 2011-03-14 11:17:12 -0400 | |
commit | fc25151d9ac7d809239fe68de0a1490b504bb94a (patch) | |
tree | cd9ef4fdd796c49affe1c3d432a0fd9581c58d64 /lib/mpi/generic_mpih-rshift.c | |
parent | xen/debugfs: Add 'p2m' file for printing out the P2M layout. (diff) | |
download | wireguard-linux-fc25151d9ac7d809239fe68de0a1490b504bb94a.tar.xz wireguard-linux-fc25151d9ac7d809239fe68de0a1490b504bb94a.zip |
xen/debug: WARN_ON when identity PFN has no _PAGE_IOMAP flag set.
Only enabled if XEN_DEBUG is enabled. We print a warning
when:
pfn_to_mfn(pfn) == pfn, but no VM_IO (_PAGE_IOMAP) flag set
(and pfn is an identity mapped pfn)
pfn_to_mfn(pfn) != pfn, and VM_IO flag is set.
(ditto, pfn is an identity mapped pfn)
[v2: Make it dependent on CONFIG_XEN_DEBUG instead of ..DEBUG_FS]
[v3: Fix compiler warning]
Reviewed-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'lib/mpi/generic_mpih-rshift.c')
0 files changed, 0 insertions, 0 deletions