• Akinobu Mita's avatar
    kvm: stop including asm-generic/bitops/le.h directly · 5140a357
    Akinobu Mita authored
    asm-generic/bitops/le.h is only intended to be included directly from
    asm-generic/bitops/ext2-non-atomic.h or asm-generic/bitops/minix-le.h
    which implements generic ext2 or minix bit operations.
    
    This stops including asm-generic/bitops/le.h directly and use ext2
    non-atomic bit operations instead.
    
    It seems odd to use ext2_set_bit() on kvm, but it will replaced with
    __set_bit_le() after introducing little endian bit operations for all
    architectures.  This indirect step is necessary to maintain bisectability
    for some architectures which have their own little-endian bit operations.
    Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
    Cc: Avi Kivity <avi@redhat.com>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    5140a357
kvm_main.c 57.9 KB