git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: use debug_kmap_atomic
[sfrench/cifs-2.6.git]
/
arch
/
x86
/
mm
/
highmem_32.c
diff --git
a/arch/x86/mm/highmem_32.c
b/arch/x86/mm/highmem_32.c
index 8126e8d1a2a4a789509cb49af563b6cbb76395ae..5bc5d1688c1c771730ba6fa1ecdea1bafe959767 100644
(file)
--- a/
arch/x86/mm/highmem_32.c
+++ b/
arch/x86/mm/highmem_32.c
@@
-40,6
+40,7
@@
void *kmap_atomic_prot(struct page *page, enum km_type type, pgprot_t prot)
debug_kmap_atomic(type);
+ debug_kmap_atomic(type);
idx = type + KM_TYPE_NR*smp_processor_id();
vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
BUG_ON(!pte_none(*(kmap_pte-idx)));