From: Xiao Guangrong Date: Mon, 15 Jun 2015 08:55:31 +0000 (+0800) Subject: KVM: MTRR: sort variable MTRRs X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19efffa244071ccd0385b240d03adb38feaab04e;p=pandora-kernel.git KVM: MTRR: sort variable MTRRs Sort all valid variable MTRRs based on its base address, it will help us to check a range to see if it's fully contained in variable MTRRs Signed-off-by: Xiao Guangrong [Fix list insertion sort, simplify var_mtrr_range_is_valid to just test the V bit. - Paolo] Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed