diff options
author | Juergen Gross <jgross@suse.com> | 2015-01-28 01:44:23 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-01-28 05:00:36 -0500 |
commit | a3f5239650a9c08df0473261aedd6f50f7775410 (patch) | |
tree | 4090089b988e0a48021ee3e014eeaa03dd6cd03f /arch/x86/xen/setup.c | |
parent | 3ba5c867ca504a9fbdadbbd1b36b690c7e2718df (diff) |
x86/xen: add some __init and static annotations in arch/x86/xen/setup.c
Some more functions in arch/x86/xen/setup.c can be made "__init".
xen_ignore_unusable() can be made "static".
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/x86/xen/setup.c')
-rw-r--r-- | arch/x86/xen/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 4dcc60819eda..55f388ef481a 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c | |||
@@ -535,8 +535,8 @@ static unsigned long __init xen_get_max_pages(void) | |||
535 | return min(max_pages, MAX_DOMAIN_PAGES); | 535 | return min(max_pages, MAX_DOMAIN_PAGES); |
536 | } | 536 | } |
537 | 537 | ||
538 | static void xen_align_and_add_e820_region(phys_addr_t start, phys_addr_t size, | 538 | static void __init xen_align_and_add_e820_region(phys_addr_t start, |
539 | int type) | 539 | phys_addr_t size, int type) |
540 | { | 540 | { |
541 | phys_addr_t end = start + size; | 541 | phys_addr_t end = start + size; |
542 | 542 | ||
@@ -549,7 +549,7 @@ static void xen_align_and_add_e820_region(phys_addr_t start, phys_addr_t size, | |||
549 | e820_add_region(start, end - start, type); | 549 | e820_add_region(start, end - start, type); |
550 | } | 550 | } |
551 | 551 | ||
552 | void xen_ignore_unusable(struct e820entry *list, size_t map_size) | 552 | static void __init xen_ignore_unusable(struct e820entry *list, size_t map_size) |
553 | { | 553 | { |
554 | struct e820entry *entry; | 554 | struct e820entry *entry; |
555 | unsigned int i; | 555 | unsigned int i; |