From: Joerg Roedel Date: Thu, 1 Jul 2010 14:00:11 +0000 (+0200) Subject: KVM: Remove unnecessary divide operations X-Git-Tag: v2.6.36-rc1~580^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=828554136bbacae6e39fc31b9cd7e7c660ad7530;p=pandora-kernel.git KVM: Remove unnecessary divide operations This patch converts unnecessary divide and modulo operations in the KVM large page related code into logical operations. This allows to convert gfn_t to u64 while not breaking 32 bit builds. Signed-off-by: Joerg Roedel Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed