diff options
author | Alexey Kardashevskiy <[email protected]> | 2014-08-14 15:03:07 +1000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2014-08-19 15:11:57 +0200 |
commit | c04fa5831d4d89dfbc88406f4a46f9846841a560 (patch) | |
tree | 691332dbb4ce5b6180326d5097e9485a781a4753 /net/lapb/lapb_subr.c | |
parent | 350b8bdd689cd2ab2c67c8a86a0be86cfa0751a7 (diff) |
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 <[email protected]>
Cc: Alexander Graf <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions