diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 12:48:01 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:47 -0700 |
commit | 0a72f3cf9f53ae0f4f1c6e05bb081d99b5d72db2 (patch) | |
tree | 224621be13f8cfe77606140ff7f8ec6c78cba1f8 /drivers/staging/hv/Hv.c | |
parent | e276a3a5781f1e1ce0f912cc909ade147fa86a53 (diff) | |
download | op-kernel-dev-0a72f3cf9f53ae0f4f1c6e05bb081d99b5d72db2.zip op-kernel-dev-0a72f3cf9f53ae0f4f1c6e05bb081d99b5d72db2.tar.gz |
Staging: hv: osd: remove MemAllocAtomic 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 4ddaf6e..5ac9006 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -414,7 +414,7 @@ HvPostMessage( return -1; } - addr = (unsigned long)MemAllocAtomic(sizeof(struct alignedInput)); + addr = (unsigned long)kmalloc(sizeof(struct alignedInput), GFP_ATOMIC); if (!addr) { |