diff options
author | Avi Kivity <avi@redhat.com> | 2010-07-29 12:11:34 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 08:50:06 (GMT) |
commit | ea9ef04e19c7c441b1ce9fe28ff6d9522c848baa (patch) | |
tree | da3d1a2479aa4d3102036d57a19033f3695316bd /arch/x86/kvm | |
parent | 62bd430e6d41ac84ff2fb719f5783c3692718f47 (diff) | |
download | linux-fsl-qoriq-ea9ef04e19c7c441b1ce9fe28ff6d9522c848baa.tar.xz |
KVM: x86 emulator: drop parentheses in repreat macros
The parenthese make is impossible to use the macros with initializers that
require braces.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/emulate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index b0f45bc..3bfba94 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -95,10 +95,10 @@ #define Src2One (3<<29) #define Src2Mask (7<<29) -#define X2(x) (x), (x) -#define X3(x) X2(x), (x) +#define X2(x) x, x +#define X3(x) X2(x), x #define X4(x) X2(x), X2(x) -#define X5(x) X4(x), (x) +#define X5(x) X4(x), x #define X6(x) X4(x), X2(x) #define X7(x) X4(x), X3(x) #define X8(x) X4(x), X4(x) |