KVM: powerpc: Fix BUILD_BUG_ON condition
authorHollis Blanchard <hollisb@us.ibm.com>
Fri, 23 Oct 2009 00:35:30 +0000 (00:35 +0000)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:22 +0000 (09:32 +0200)
commitc0a187e12d48235cb8af4cdeff283117ab42bbb2
treed422faae9267bae962b3a402a0ce0ca9e5446137
parent26bb0981b3ff00b9177d61fe55806db978862b3c
KVM: powerpc: Fix BUILD_BUG_ON condition

The old BUILD_BUG_ON implementation didn't work with __builtin_constant_p().
Fixing that revealed this test had been inverted for a long time without
anybody noticing...

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/timing.h