diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 12:46:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:47 -0700 |
commit | 0e727613ac6e1648d681a75d794862225c801d4b (patch) | |
tree | eae5231be9b64b8a08c2823aec5ab0760c64e131 /drivers/staging/hv/Hv.c | |
parent | 1f765540f49141e5418c3101df0f7580e7b10aa7 (diff) | |
download | op-kernel-dev-0e727613ac6e1648d681a75d794862225c801d4b.zip op-kernel-dev-0e727613ac6e1648d681a75d794862225c801d4b.tar.gz |
Staging: hv: remove TRUE, FALSE, and NULL usage
Don't define things that are either already provided (like NULL), or you
shouldn't use (like TRUE and FALSE).
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Hv.c')
-rw-r--r-- | drivers/staging/hv/Hv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index 0e739779..0e543ee 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -31,7 +31,7 @@ // The one and only HV_CONTEXT gHvContext={ - .SynICInitialized = FALSE, + .SynICInitialized = false, .HypercallPage = NULL, .SignalEventParam = NULL, .SignalEventBuffer = NULL, @@ -571,8 +571,8 @@ HvSynicInit ( sharedSint.AsUINT64 = 0; sharedSint.Vector = irqVector; //HV_SHARED_SINT_IDT_VECTOR + 0x20; - sharedSint.Masked = FALSE; - sharedSint.AutoEoi = TRUE; + sharedSint.Masked = false; + sharedSint.AutoEoi = true; DPRINT_DBG(VMBUS, "HV_X64_MSR_SINT1 msr set to: %llx", sharedSint.AsUINT64); @@ -584,7 +584,7 @@ HvSynicInit ( WriteMsr(HV_X64_MSR_SCONTROL, sctrl.AsUINT64); - gHvContext.SynICInitialized = TRUE; + gHvContext.SynICInitialized = true; DPRINT_EXIT(VMBUS); |