From: Alexey Kardashevskiy Date: Thu, 14 Aug 2014 05:03:07 +0000 (+1000) Subject: PC, KVM, CMA: Fix regression caused by wrong get_order() use X-Git-Tag: omap-for-v3.17/fixes-against-rc2~36^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c04fa5831d4d89dfbc88406f4a46f9846841a560;p=pandora-kernel.git PC, KVM, CMA: Fix regression caused by wrong get_order() use fc95ca7284bc54953165cba76c3228bd2cdb9591 claims that there is no functional change but this is not true as it calls get_order() (which takes bytes) where it should have called order_base_2() and the kernel stops on VM_BUG_ON(). This replaces get_order() with order_base_2() (round-up version of ilog2). Suggested-by: Paul Mackerras Cc: Alexander Graf Cc: Joonsoo Kim Cc: Benjamin Herrenschmidt Reviewed-by: Aneesh Kumar K.V Signed-off-by: Alexey Kardashevskiy Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed