]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Make bools bitfields
authorAlexander Graf <agraf@suse.de>
Wed, 24 Mar 2010 20:48:36 +0000 (21:48 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:20 +0000 (12:17 +0300)
commitc8d0ad4f14b5de28a2d6d13c242d061f89df6e40
tree2b2b946d76b9e1344f98dad5542d63971a3bd288
parent1b82ea37251090e6fa293432a4aad0777f623e53
KVM: PPC: Make bools bitfields

Bool defaults to at least byte width. We usually only want to waste a single
bit on this. So let's move all the bool values to bitfields, potentially
saving memory.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/include/asm/kvm_host.h