From: Jeremy Fitzhardinge Date: Thu, 7 Dec 2006 04:32:22 +0000 (-0800) Subject: [PATCH] Fix kunmap_atomic's use of kpte_clear_flush() X-Git-Tag: v2.6.20-rc1~145^2^2~337 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b17979bda74493633364c2c263b452b7788e350;p=pandora-kernel.git [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 Signed-off-by: Rusty Russell Cc: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed