diff options
| author | Jeremy Fitzhardinge <[email protected]> | 2006-12-06 20:32:22 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-07 08:39:21 -0800 |
| commit | 3b17979bda74493633364c2c263b452b7788e350 (patch) | |
| tree | 3b15ec560ae56bb7730eedb3e7e8594ced2f7029 /include/linux/sysdev.h | |
| parent | ad76fb6b5a5183255279e0ab5260715481770678 (diff) | |
[PATCH] Fix kunmap_atomic's use of kpte_clear_flush()
kunmap_atomic() will call kpte_clear_flush with vaddr/ptep arguments which
don't correspond if the vaddr is just a normal lowmem address (ie, not in
the KMAP area). This patch makes sure that the pte is only cleared if kmap
area was actually used for the mapping.
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Cc: Zachary Amsden <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions