linux-stable-rt/arch/powerpc/kvm
Takuya Yoshikawa 87bf6e7de1 KVM: fix the handling of dirty bitmaps to avoid overflows
Int is not long enough to store the size of a dirty bitmap.

This patch fixes this problem with the introduction of a wrapper
function to calculate the sizes of dirty bitmaps.

Note: in mark_page_dirty(), we have to consider the fact that
  __set_bit() takes the offset as int, not long.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2010-04-20 13:06:55 +03:00
..
44x.c
44x_emulate.c
44x_tlb.c
44x_tlb.h
Kconfig
Makefile
book3s.c
book3s_32_mmu.c
book3s_64_emulate.c
book3s_64_exports.c
book3s_64_interrupts.S
book3s_64_mmu.c
book3s_64_mmu_host.c
book3s_64_rmhandlers.S
book3s_64_slb.S
booke.c
booke.h
booke_emulate.c
booke_interrupts.S
e500.c
e500_emulate.c
e500_tlb.c
e500_tlb.h
emulate.c
powerpc.c
timing.c
timing.h
trace.h