Commit a6025a2a authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman

Drivers: hv: balloon: make local functions static

local functions that could be static.
Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 54f69b92
...@@ -537,7 +537,7 @@ static struct hv_dynmem_device dm_device; ...@@ -537,7 +537,7 @@ static struct hv_dynmem_device dm_device;
#ifdef CONFIG_MEMORY_HOTPLUG #ifdef CONFIG_MEMORY_HOTPLUG
void hv_bring_pgs_online(unsigned long start_pfn, unsigned long size) static void hv_bring_pgs_online(unsigned long start_pfn, unsigned long size)
{ {
int i; int i;
...@@ -876,7 +876,7 @@ static void process_info(struct hv_dynmem_device *dm, struct dm_info_msg *msg) ...@@ -876,7 +876,7 @@ static void process_info(struct hv_dynmem_device *dm, struct dm_info_msg *msg)
} }
} }
unsigned long compute_balloon_floor(void) static unsigned long compute_balloon_floor(void)
{ {
unsigned long min_pages; unsigned long min_pages;
#define MB2PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) #define MB2PAGES(mb) ((mb) << (20 - PAGE_SHIFT))
......
Markdown is supported
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