diff options
author | Greg Kroah-Hartman | 2009-07-15 21:47:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-09-15 21:01:47 +0200 |
commit | e40d37cc002de9a6e3058646114b585ec4354745 (patch) | |
tree | cdf7c0212d1d947aaaafae18ca4d1f3e6d7a4b45 /drivers/staging/hv/Hv.c | |
parent | Staging: hv: remove TRUE, FALSE, and NULL usage (diff) | |
download | kernel-qcow2-linux-e40d37cc002de9a6e3058646114b585ec4354745.tar.gz kernel-qcow2-linux-e40d37cc002de9a6e3058646114b585ec4354745.tar.xz kernel-qcow2-linux-e40d37cc002de9a6e3058646114b585ec4354745.zip |
Staging: hv: osd: remove MemAlloc wrapper
Use the "real" kmalloc call instead of a wrapper function.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index 0e543ee9d5a6..4ddaf6e3ac17 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -305,7 +305,7 @@ HvInit ( (unsigned long)hypercallMsr.GuestPhysicalAddress << PAGE_SHIFT); // Setup the global signal event param for the signal event hypercall - gHvContext.SignalEventBuffer = MemAlloc(sizeof(HV_INPUT_SIGNAL_EVENT_BUFFER)); + gHvContext.SignalEventBuffer = kmalloc(sizeof(HV_INPUT_SIGNAL_EVENT_BUFFER), GFP_KERNEL); if (!gHvContext.SignalEventBuffer) { goto Cleanup; |