From: Xiao Guangrong Date: Thu, 17 Apr 2014 09:06:13 +0000 (+0800) Subject: KVM: MMU: properly check last spte in fast_page_fault() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92a476cbfc476c63ee982dd33d15a8c88b4d51b9;p=pandora-kernel.git KVM: MMU: properly check last spte in fast_page_fault() Using sp->role.level instead of @level since @level is not got from the page table hierarchy There is no issue in current code since the fast page fault currently only fixes the fault caused by dirty-log that is always on the last level (level = 1) This patch makes the code more readable and avoids potential issue in the further development Reviewed-by: Marcelo Tosatti Signed-off-by: Xiao Guangrong Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed