From 0d3a397198b4917b56be4729ce81da2b37193898 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 28 Mar 2011 11:58:46 +0000 Subject: [PATCH] [NTOSKRNL] Move macro definition out of macro instantiation. Fixes compilation with MSVC svn path=/branches/cmake-bringup/; revision=51181 --- ntoskrnl/ke/i386/cpu.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ntoskrnl/ke/i386/cpu.c b/ntoskrnl/ke/i386/cpu.c index 693701b13af..7f3358cdee9 100644 --- a/ntoskrnl/ke/i386/cpu.c +++ b/ntoskrnl/ke/i386/cpu.c @@ -474,10 +474,9 @@ KiGetFeatureBits(VOID) } } } - + +#define print_supported(kf_value) ((FeatureBits & kf_value) ? #kf_value : "") DPRINT1("Supported CPU features : %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s\n", -#define print_supported(kf_value) \ - FeatureBits & kf_value ? #kf_value : "" print_supported(KF_V86_VIS), print_supported(KF_RDTSC), print_supported(KF_CR4), @@ -739,7 +738,7 @@ KiGetCacheInformation(VOID) /* Check if we support CPUID 0x80000006 */ CPUID(0x80000000, &Data[0], &Data[1], &Data[2], &Data[3]); if (Data[0] >= 0x80000006) - { + { /* Get 2nd level cache and tlb size */ CPUID(0x80000006, &Data[0], &Data[1], &Data[2], &Data[3]); @@ -1352,7 +1351,7 @@ KiFlushNPXState(IN PFLOATING_SAVE_AREA SaveArea) /* Now load NPX state from the NPX area */ FxSaveArea = KiGetThreadNpxArea(Thread); - Ke386FxStore(FxSaveArea); + Ke386FxStore(FxSaveArea); } else {