diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-03-20 11:25:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 16:31:24 -0400 |
commit | a6025a2a861845447adeb7a11c3043039959d3a1 (patch) | |
tree | 571ec5da4c16ea30fc3b7db1a5f1926234ce85f5 /drivers/hv | |
parent | 54f69b92f037f4ff5779e5645ab714dee5b59095 (diff) |
Drivers: hv: balloon: make local functions static
local functions that could be static.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r-- | drivers/hv/hv_balloon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index 2cf7d4e964bd..d5225261ee54 100644 --- a/drivers/hv/hv_balloon.c +++ b/drivers/hv/hv_balloon.c | |||
@@ -537,7 +537,7 @@ static struct hv_dynmem_device dm_device; | |||
537 | 537 | ||
538 | #ifdef CONFIG_MEMORY_HOTPLUG | 538 | #ifdef CONFIG_MEMORY_HOTPLUG |
539 | 539 | ||
540 | void hv_bring_pgs_online(unsigned long start_pfn, unsigned long size) | 540 | static void hv_bring_pgs_online(unsigned long start_pfn, unsigned long size) |
541 | { | 541 | { |
542 | int i; | 542 | int i; |
543 | 543 | ||
@@ -876,7 +876,7 @@ static void process_info(struct hv_dynmem_device *dm, struct dm_info_msg *msg) | |||
876 | } | 876 | } |
877 | } | 877 | } |
878 | 878 | ||
879 | unsigned long compute_balloon_floor(void) | 879 | static unsigned long compute_balloon_floor(void) |
880 | { | 880 | { |
881 | unsigned long min_pages; | 881 | unsigned long min_pages; |
882 | #define MB2PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) | 882 | #define MB2PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) |