From a9c35d83266b2c8cbdce51073827668a2d44be6e Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Mon, 8 Dec 2014 06:32:19 +0100 Subject: [PATCH] xen: annotate xen_set_identity_and_remap_chunk() with __init Commit 3ffaa32d3698573f45200162db112181c0c39eb5 removed the __init annotation from xen_set_identity_and_remap_chunk(). Add it again. Signed-off-by: Juergen Gross Signed-off-by: David Vrabel --- arch/x86/xen/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 12cd199e4c9af..dfd77dec8e2b7 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c @@ -368,7 +368,7 @@ static void __init xen_do_set_identity_and_remap_chunk( * pages. In the case of an error the underlying memory is simply released back * to Xen and not remapped. */ -static unsigned long xen_set_identity_and_remap_chunk( +static unsigned long __init xen_set_identity_and_remap_chunk( const struct e820entry *list, size_t map_size, unsigned long start_pfn, unsigned long end_pfn, unsigned long nr_pages, unsigned long remap_pfn, unsigned long *identity, unsigned long *released) -- 2.39.5