aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/xen/enlighten.c2
-rw-r--r--arch/x86/xen/p2m.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 50542efe45fb..28e6d42ce2b8 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1292,7 +1292,7 @@ static int init_hvm_pv_info(int *major, int *minor)
1292 return 0; 1292 return 0;
1293} 1293}
1294 1294
1295void xen_hvm_init_shared_info(void) 1295void __ref xen_hvm_init_shared_info(void)
1296{ 1296{
1297 int cpu; 1297 int cpu;
1298 struct xen_add_to_physmap xatp; 1298 struct xen_add_to_physmap xatp;
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c
index 00fe5604c593..215a3ce61068 100644
--- a/arch/x86/xen/p2m.c
+++ b/arch/x86/xen/p2m.c
@@ -266,7 +266,7 @@ static void p2m_init(unsigned long *p2m)
266 * - After resume we're called from within stop_machine, but the mfn 266 * - After resume we're called from within stop_machine, but the mfn
267 * tree should alreay be completely allocated. 267 * tree should alreay be completely allocated.
268 */ 268 */
269void xen_build_mfn_list_list(void) 269void __ref xen_build_mfn_list_list(void)
270{ 270{
271 unsigned long pfn; 271 unsigned long pfn;
272 272
@@ -654,7 +654,7 @@ int m2p_add_override(unsigned long mfn, struct page *page)
654{ 654{
655 unsigned long flags; 655 unsigned long flags;
656 unsigned long pfn; 656 unsigned long pfn;
657 unsigned long address; 657 unsigned long uninitialized_var(address);
658 unsigned level; 658 unsigned level;
659 pte_t *ptep = NULL; 659 pte_t *ptep = NULL;
660 660
@@ -688,7 +688,7 @@ int m2p_remove_override(struct page *page)
688 unsigned long flags; 688 unsigned long flags;
689 unsigned long mfn; 689 unsigned long mfn;
690 unsigned long pfn; 690 unsigned long pfn;
691 unsigned long address; 691 unsigned long uninitialized_var(address);
692 unsigned level; 692 unsigned level;
693 pte_t *ptep = NULL; 693 pte_t *ptep = NULL;
694 694