Skip to content
Commit 9437e393 authored by Cai Huoqing's avatar Cai Huoqing Committed by Rafael J. Wysocki
Browse files

PM: hibernate: swap: Use vzalloc() and kzalloc()



Replace vmalloc()/memset() with vzalloc() and kmalloc()/memset() with
kzalloc() to simplify the code.

Signed-off-by: default avatarCai Huoqing <caihuoqing@baidu.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 01de5fcd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment